brianegan / brianegan/flutter_stetho
non-abstract class 'StethoHttpClientRequest' is missing implementations for HttpClientRequest.abort
- Dominant language
- Dart
- Stars
- 217
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
```
./../Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_stetho-0.5.0/lib/src/http_client_request.dart:10:7: Error: The non-abstract class 'StethoHttpClientRequest' 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 StethoHttpClientRequest implements 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 is for sdk: ">=2.1.0 <3.0.0"
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in lib/src/http_client_request.dart, where StethoHttpClientRequest implements HttpClientRequest, and compare the class with the SDK declaration of HttpClientRequest.abort shown in the report. Add the missing interface implementation and verify that the package builds against the stated Dart SDK range.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100