fix warnings

This commit is contained in:
Sergey Penkovsky
2025-05-13 23:12:17 +03:00
parent 1b5cc64324
commit 28035a1ccd
5 changed files with 15 additions and 9 deletions

View File

@@ -19,3 +19,6 @@ doc/api/
*.js_ *.js_
*.js.deps *.js.deps
*.js.map *.js.map
# FVM Version Cache
.fvm/

View File

@@ -109,6 +109,7 @@ abstract class ApiClient {
} }
class ApiClientMock implements ApiClient { class ApiClientMock implements ApiClient {
@override
Future sendRequest({ Future sendRequest({
@required String? url, @required String? url,
String? token, String? token,
@@ -120,6 +121,7 @@ class ApiClientMock implements ApiClient {
} }
class ApiClientImpl implements ApiClient { class ApiClientImpl implements ApiClient {
@override
Future sendRequest({ Future sendRequest({
@required String? url, @required String? url,
String? token, String? token,

View File

@@ -13,9 +13,7 @@ dependencies:
meta: ^1.3.0 meta: ^1.3.0
dev_dependencies: dev_dependencies:
#pedantic: ^1.11.0 lints: ^5.0.0
test: ^1.25.15
test: ^1.17.2
mockito: ^5.0.6 mockito: ^5.0.6
lints: ^2.1.0

View File

@@ -18,7 +18,8 @@ dependencies:
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^4.0.0 flutter_lints: ^5.0.0
test: ^1.25.7
# For information on the generic Dart part of this file, see the # For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec # following page: https://dart.dev/tools/pub/pubspec

View File

@@ -8,8 +8,10 @@ packages:
scripts: scripts:
analyze: analyze:
run: | exec: dart analyze
flutter analyze
format: format:
run: | exec: dart format
flutter format
test:
exec: dart test ./test