Fix lints (#81)
diff --git a/analysis_options.yaml b/analysis_options.yaml
index 8ba71f4..c04c80e 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -1,4 +1,5 @@
-include: package:pedantic/analysis_options.yaml
+include: package:pedantic/analysis_options.1.8.0.yaml
+
linter:
rules:
- avoid_empty_else
diff --git a/lib/http_io.dart b/lib/http_io.dart
index 96ec7f1..bb8dade 100644
--- a/lib/http_io.dart
+++ b/lib/http_io.dart
@@ -1006,7 +1006,7 @@
/// This object provides access to the headers and body of the response.
/// The body is available as a stream implemented by HttpClientResponse.
/// If a body is present, it must be read. Otherwise, it leads to resource
-/// leaks. Consider using [HttpClientResponse.drain] if the body is unused.
+/// leaks. Consider using `HttpClientResponse.drain` if the body is unused.
///
/// HttpClient client = new HttpClient();
/// client.getUrl(Uri.parse("http://www.example.com/"))
diff --git a/lib/src/http_impl.dart b/lib/src/http_impl.dart
index 51cb0b1..b457f97 100644
--- a/lib/src/http_impl.dart
+++ b/lib/src/http_impl.dart
@@ -2764,10 +2764,6 @@
void setRawOption(RawSocketOption option) {
_socket.setRawOption(option);
}
-
- Map _toJSON(bool ref) {
- return (_socket as dynamic)._toJSON(ref);
- }
}
class _AuthenticationScheme {