When running with dart 2.10 and flutter 1.22.0 i'm getting the following errors:
./../../.pub-cache/hosted/pub.dartlang.org/nock-1.0.2/lib/src/overrides.dart:131:7: Error: The non-abstract class 'MockHttpClientRequest' is missing implementations for these members:
- HttpClientRequest.abort
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class MockHttpClientRequest extends HttpClientRequest {
^^^^^^^^^^^^^^^^^^^^^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:2045:8: Context: 'HttpClientRequest.abort' is defined here.
void abort([Object? exception, StackTrace? stackTrace]);
This commit will fix the issue and will implement the abort method
When running with dart 2.10 and flutter 1.22.0 i'm getting the following errors:
This commit will fix the issue and will implement the
abort
method