diff --git a/.fvm/fvm_config.json b/.fvm/fvm_config.json index c2dd9f5..f000541 100644 --- a/.fvm/fvm_config.json +++ b/.fvm/fvm_config.json @@ -1,4 +1,4 @@ { - "flutterSdkVersion": "3.7.0", + "flutterSdkVersion": "3.13.8", "flavors": {} } \ No newline at end of file diff --git a/.github/workflows/flutter-ci.yml b/.github/workflows/flutter-ci.yml index 102209b..5ba9f2a 100644 --- a/.github/workflows/flutter-ci.yml +++ b/.github/workflows/flutter-ci.yml @@ -138,6 +138,12 @@ jobs: fileName: 'google-services.json' fileDir: 'android/app/' encodedString: ${{ secrets.ANDROID_GOOGLE_SERVICES_JSON_BASE_64 }} + - name: Create firebase_app_id_file.json + uses: timheuer/base64-to-file@v1.2 + with: + fileName: 'firebase_app_id_file.json' + fileDir: 'ios/' + encodedString: ${{ secrets.IOS_FIREBASE_JSON_BASE_64 }} - name: Get dependencies uses: maierj/fastlane-action@v3.0.0 with: diff --git a/analysis_options.yaml b/analysis_options.yaml index 922aaf7..070e405 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -48,10 +48,9 @@ linter: - exhaustive_cases - file_names - hash_and_equals - - iterable_contains_unrelated_type - library_names - lines_longer_than_80_chars - - list_remove_unrelated_type + - collection_methods_unrelated_type - literal_only_boolean_expressions - missing_whitespace_between_adjacent_strings - no_default_cases diff --git a/android/app/build.gradle b/android/app/build.gradle index 84d8371..a1e70b4 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -92,6 +92,7 @@ android { } lintOptions { checkReleaseBuilds false + baseline file("lint-baseline.xml") } } diff --git a/android/build.gradle b/android/build.gradle index 0b9541d..a6292ab 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -27,6 +27,6 @@ subprojects { project.evaluationDependsOn(':app') } -task clean(type: Delete) { +tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/android/fastlane/README.md b/android/fastlane/README.md index 210509b..c6bad3b 100644 --- a/android/fastlane/README.md +++ b/android/fastlane/README.md @@ -45,14 +45,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do **Lint: Check code format** -### lint_check_language_sorting - -```sh -[bundle exec] fastlane lint_check_language_sorting -``` - -**Lint: Check code format** - ### lint_analyze ```sh @@ -61,14 +53,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do **Lint: Analyze code** -### lint_code_metrics - -```sh -[bundle exec] fastlane lint_code_metrics -``` - -**Lint: Code metrics** - ### lints ```sh diff --git a/fastlane/Fastfile b/fastlane/Fastfile index dc9bbf7..c1b14e4 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -25,6 +25,11 @@ private_lane :flutter_command do |options| sh_on_root(command: "fvm flutter #{command}") end +private_lane :dart_command do |options| + command = options[:command] + sh_on_root(command: "fvm dart #{command}") +end + desc "**Clean project**" private_lane :clean do flutter_command(command: "clean") @@ -42,17 +47,7 @@ end desc "**Lint: Check code format**" lane :lint_format do - flutter_command(command: "format --set-exit-if-changed .") -end - -desc "**Lint: Check code format**" -lane :lint_check_language_sorting do - current_content = sh_on_root(command: "cat lib/l10n/intl_en.arb") - flutter_command(command: "pub run arb_utils sort lib/l10n/intl_en.arb") - new_content = sh_on_root(command: "cat lib/l10n/intl_en.arb") - unless current_content == new_content - UI.user_error!("Language file is not sorted") - end + dart_command(command: "format --set-exit-if-changed lib") end desc "**Lint: Analyze code**" @@ -60,25 +55,10 @@ lane :lint_analyze do flutter_command(command: "analyze .") end -desc "**Lint: Code metrics**" -lane :lint_code_metrics do - result = flutter_command(command: "pub run dart_code_metrics:metrics analyze lib --fatal-style --fatal-performance --fatal-warnings") - UI.message(result) - unless result.include? "✔ no issues found!" - UI.user_error!("Code metrics error happened") - end - - flutter_command(command: "pub run dart_code_metrics:metrics check-unused-code lib --fatal-unused") - flutter_command(command: "pub run dart_code_metrics:metrics check-unused-files lib --fatal-unused --exclude=lib/gen/assets.gen.dart") -end - - desc "**Run linters**" lane :lints do lint_format - lint_check_language_sorting lint_analyze - lint_code_metrics end desc "**Check generated code is fine**" diff --git a/fastlane/README.md b/fastlane/README.md index f47148c..2715f07 100644 --- a/fastlane/README.md +++ b/fastlane/README.md @@ -45,14 +45,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do **Lint: Check code format** -### lint_check_language_sorting - -```sh -[bundle exec] fastlane lint_check_language_sorting -``` - -**Lint: Check code format** - ### lint_analyze ```sh @@ -61,14 +53,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do **Lint: Analyze code** -### lint_code_metrics - -```sh -[bundle exec] fastlane lint_code_metrics -``` - -**Lint: Code metrics** - ### lints ```sh diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 890897a..db321dc 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -3,70 +3,81 @@ PODS: - bugsee_flutter (5.0.2): - Bugsee (= 3.2.1) - Flutter - - Firebase/CoreOnly (10.1.0): - - FirebaseCore (= 10.1.0) - - Firebase/Crashlytics (10.1.0): + - Firebase/CoreOnly (10.18.0): + - FirebaseCore (= 10.18.0) + - Firebase/Crashlytics (10.18.0): - Firebase/CoreOnly - - FirebaseCrashlytics (~> 10.1.0) - - firebase_core (2.2.0): - - Firebase/CoreOnly (= 10.1.0) + - FirebaseCrashlytics (~> 10.18.0) + - firebase_core (2.24.2): + - Firebase/CoreOnly (= 10.18.0) - Flutter - - firebase_crashlytics (3.0.5): - - Firebase/Crashlytics (= 10.1.0) + - firebase_crashlytics (3.4.8): + - Firebase/Crashlytics (= 10.18.0) - firebase_core - Flutter - - FirebaseCore (10.1.0): + - FirebaseCore (10.18.0): - FirebaseCoreInternal (~> 10.0) - - GoogleUtilities/Environment (~> 7.8) - - GoogleUtilities/Logger (~> 7.8) - - FirebaseCoreInternal (10.1.0): - - "GoogleUtilities/NSData+zlib (~> 7.8)" - - FirebaseCrashlytics (10.1.0): + - GoogleUtilities/Environment (~> 7.12) + - GoogleUtilities/Logger (~> 7.12) + - FirebaseCoreExtension (10.19.0): - FirebaseCore (~> 10.0) + - FirebaseCoreInternal (10.19.0): + - "GoogleUtilities/NSData+zlib (~> 7.8)" + - FirebaseCrashlytics (10.18.0): + - FirebaseCore (~> 10.5) - FirebaseInstallations (~> 10.0) + - FirebaseSessions (~> 10.5) - GoogleDataTransport (~> 9.2) - GoogleUtilities/Environment (~> 7.8) - nanopb (< 2.30910.0, >= 2.30908.0) - PromisesObjC (~> 2.1) - - FirebaseInstallations (10.1.0): + - FirebaseInstallations (10.19.0): - FirebaseCore (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) - PromisesObjC (~> 2.1) + - FirebaseSessions (10.19.0): + - FirebaseCore (~> 10.5) + - FirebaseCoreExtension (~> 10.0) + - FirebaseInstallations (~> 10.0) + - GoogleDataTransport (~> 9.2) + - GoogleUtilities/Environment (~> 7.10) + - nanopb (< 2.30910.0, >= 2.30908.0) + - PromisesSwift (~> 2.1) - Flutter (1.0.0) - flutter_email_sender (0.0.1): - Flutter - flutter_native_splash (0.0.1): - Flutter - - flutter_secure_storage (3.3.1): - - Flutter - - flutter_web_browser (0.17.1): + - flutter_secure_storage (6.0.0): - Flutter - FMDB (2.7.5): - FMDB/standard (= 2.7.5) - FMDB/standard (2.7.5) - - GoogleDataTransport (9.2.0): + - GoogleDataTransport (9.3.0): - GoogleUtilities/Environment (~> 7.7) - nanopb (< 2.30910.0, >= 2.30908.0) - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Environment (7.10.0): + - GoogleUtilities/Environment (7.12.0): - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.10.0): + - GoogleUtilities/Logger (7.12.0): - GoogleUtilities/Environment - - "GoogleUtilities/NSData+zlib (7.10.0)" - - GoogleUtilities/UserDefaults (7.10.0): + - "GoogleUtilities/NSData+zlib (7.12.0)" + - GoogleUtilities/UserDefaults (7.12.0): - GoogleUtilities/Logger - - nanopb (2.30909.0): - - nanopb/decode (= 2.30909.0) - - nanopb/encode (= 2.30909.0) - - nanopb/decode (2.30909.0) - - nanopb/encode (2.30909.0) + - nanopb (2.30909.1): + - nanopb/decode (= 2.30909.1) + - nanopb/encode (= 2.30909.1) + - nanopb/decode (2.30909.1) + - nanopb/encode (2.30909.1) - package_info_plus (0.4.5): - Flutter - path_provider_foundation (0.0.1): - Flutter - FlutterMacOS - - PromisesObjC (2.1.1) + - PromisesObjC (2.3.1) + - PromisesSwift (2.3.1): + - PromisesObjC (= 2.3.1) - shared_preferences_foundation (0.0.1): - Flutter - FlutterMacOS @@ -86,9 +97,8 @@ DEPENDENCIES: - flutter_email_sender (from `.symlinks/plugins/flutter_email_sender/ios`) - flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`) - flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`) - - flutter_web_browser (from `.symlinks/plugins/flutter_web_browser/ios`) - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) - - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/ios`) + - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/ios`) - sqflite (from `.symlinks/plugins/sqflite/ios`) - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) @@ -99,14 +109,17 @@ SPEC REPOS: - Bugsee - Firebase - FirebaseCore + - FirebaseCoreExtension - FirebaseCoreInternal - FirebaseCrashlytics - FirebaseInstallations + - FirebaseSessions - FMDB - GoogleDataTransport - GoogleUtilities - nanopb - PromisesObjC + - PromisesSwift EXTERNAL SOURCES: bugsee_flutter: @@ -123,12 +136,10 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/flutter_native_splash/ios" flutter_secure_storage: :path: ".symlinks/plugins/flutter_secure_storage/ios" - flutter_web_browser: - :path: ".symlinks/plugins/flutter_web_browser/ios" package_info_plus: :path: ".symlinks/plugins/package_info_plus/ios" path_provider_foundation: - :path: ".symlinks/plugins/path_provider_foundation/ios" + :path: ".symlinks/plugins/path_provider_foundation/darwin" shared_preferences_foundation: :path: ".symlinks/plugins/shared_preferences_foundation/ios" sqflite: @@ -141,25 +152,27 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Bugsee: bee7c99744047186669df53f8b7ed77cb50ef2f1 bugsee_flutter: ef54a68c4fa59caf82f8954bbf03156965e7b6c4 - Firebase: 444b35a9c568a516666213c2f6cccd10cb12559f - firebase_core: d2242c6f318db1d0dcecfbfa491e943337b0d755 - firebase_crashlytics: f56022b932775045c810d01387b097234b204bd5 - FirebaseCore: 55e7ae35991ccca4db03ff8d8df6ed5f17a3e4c7 - FirebaseCoreInternal: 96d75228e10fd369564da51bd898414eb0f54df5 - FirebaseCrashlytics: 93906d7085eb3e4dd90d08fe42a15d4f0406b6ab - FirebaseInstallations: 99d24bac0243cf8b0e96cf5426340d211f0bcc80 + Firebase: 414ad272f8d02dfbf12662a9d43f4bba9bec2a06 + firebase_core: 0af4a2b24f62071f9bf283691c0ee41556dcb3f5 + firebase_crashlytics: 55714f63ae0973c54b3a721c451ae5f815086c1f + FirebaseCore: 2322423314d92f946219c8791674d2f3345b598f + FirebaseCoreExtension: c08d14c7b22e07994e876d837e6f58642f340087 + FirebaseCoreInternal: b444828ea7cfd594fca83046b95db98a2be4f290 + FirebaseCrashlytics: 86d5bce01f42fa1db265f87ff1d591f04db610ec + FirebaseInstallations: 033d199474164db20c8350736842a94fe717b960 + FirebaseSessions: e5f4caa188dc8bc6142abc974355be75b042215e Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_email_sender: 02d7443217d8c41483223627972bfdc09f74276b flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef - flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec - flutter_web_browser: 7bccaafbb0c5b8862afe7bcd158f15557109f61f + flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a - GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f - GoogleUtilities: bad72cb363809015b1f7f19beb1f1cd23c589f95 - nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431 - package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e + GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe + GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34 + nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 + package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85 path_provider_foundation: 37748e03f12783f9de2cb2c4eadfaa25fe6d4852 - PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb + PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4 + PromisesSwift: 28dca69a9c40779916ac2d6985a0192a5cb4a265 shared_preferences_foundation: 297b3ebca31b34ec92be11acd7fb0ba932c822ca sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904 url_launcher_ios: ae1517e5e344f5544fb090b079e11f399dfbe4d2 @@ -167,4 +180,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048 -COCOAPODS: 1.11.3 +COCOAPODS: 1.14.3 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index b57c687..502fa69 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -8,7 +8,7 @@ /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 165268392922E06400EA841F /* (null) in Resources */ = {isa = PBXBuildFile; }; + 165268392922E06400EA841F /* BuildFile in Resources */ = {isa = PBXBuildFile; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; @@ -188,6 +188,7 @@ 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, D5CF141EA3C039B9A80DF808 /* [CP] Embed Pods Frameworks */, + AC8B79590C469D992AC1AE83 /* [firebase_crashlytics] Crashlytics Upload Symbols */, ); buildRules = ( ); @@ -204,7 +205,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { @@ -238,7 +239,7 @@ files = ( 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 165268392922E06400EA841F /* (null) in Resources */, + 165268392922E06400EA841F /* BuildFile in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, ); @@ -254,6 +255,7 @@ files = ( ); inputPaths = ( + "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", ); name = "Thin Binary"; outputPaths = ( @@ -277,6 +279,26 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n"; }; + AC8B79590C469D992AC1AE83 /* [firebase_crashlytics] Crashlytics Upload Symbols */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "\"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}\"", + "\"$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)\"", + ); + name = "[firebase_crashlytics] Crashlytics Upload Symbols"; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"$PODS_ROOT/FirebaseCrashlytics/upload-symbols\" --flutter-project \"$PROJECT_DIR/firebase_app_id_file.json\" "; + }; D46D8183220C367CCE0B279B /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; diff --git a/ios/fastlane/README.md b/ios/fastlane/README.md index 66b9e1c..0ca5e3f 100644 --- a/ios/fastlane/README.md +++ b/ios/fastlane/README.md @@ -45,14 +45,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do **Lint: Check code format** -### lint_check_language_sorting - -```sh -[bundle exec] fastlane lint_check_language_sorting -``` - -**Lint: Check code format** - ### lint_analyze ```sh @@ -61,14 +53,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do **Lint: Analyze code** -### lint_code_metrics - -```sh -[bundle exec] fastlane lint_code_metrics -``` - -**Lint: Code metrics** - ### lints ```sh diff --git a/lib/core/common/network_exceptions.freezed.dart b/lib/core/common/network_exceptions.freezed.dart index 1a3d5d0..462bd7c 100644 --- a/lib/core/common/network_exceptions.freezed.dart +++ b/lib/core/common/network_exceptions.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'network_exceptions.dart'; @@ -147,37 +147,37 @@ class _$NetworkExceptionCopyWithImpl<$Res, $Val extends NetworkException> } /// @nodoc -abstract class _$$UnauthorizedRequestCopyWith<$Res> { - factory _$$UnauthorizedRequestCopyWith(_$UnauthorizedRequest value, - $Res Function(_$UnauthorizedRequest) then) = - __$$UnauthorizedRequestCopyWithImpl<$Res>; +abstract class _$$UnauthorizedRequestImplCopyWith<$Res> { + factory _$$UnauthorizedRequestImplCopyWith(_$UnauthorizedRequestImpl value, + $Res Function(_$UnauthorizedRequestImpl) then) = + __$$UnauthorizedRequestImplCopyWithImpl<$Res>; @useResult $Res call({dynamic body}); } /// @nodoc -class __$$UnauthorizedRequestCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$UnauthorizedRequest> - implements _$$UnauthorizedRequestCopyWith<$Res> { - __$$UnauthorizedRequestCopyWithImpl( - _$UnauthorizedRequest _value, $Res Function(_$UnauthorizedRequest) _then) +class __$$UnauthorizedRequestImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$UnauthorizedRequestImpl> + implements _$$UnauthorizedRequestImplCopyWith<$Res> { + __$$UnauthorizedRequestImplCopyWithImpl(_$UnauthorizedRequestImpl _value, + $Res Function(_$UnauthorizedRequestImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ - Object? body = null, + Object? body = freezed, }) { - return _then(_$UnauthorizedRequest( - null == body ? _value.body : body, + return _then(_$UnauthorizedRequestImpl( + freezed == body ? _value.body! : body, )); } } /// @nodoc -class _$UnauthorizedRequest implements UnauthorizedRequest { - const _$UnauthorizedRequest(this.body); +class _$UnauthorizedRequestImpl implements UnauthorizedRequest { + const _$UnauthorizedRequestImpl(this.body); @override final dynamic body; @@ -188,10 +188,10 @@ class _$UnauthorizedRequest implements UnauthorizedRequest { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$UnauthorizedRequest && + other is _$UnauthorizedRequestImpl && const DeepCollectionEquality().equals(other.body, body)); } @@ -202,8 +202,8 @@ class _$UnauthorizedRequest implements UnauthorizedRequest { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$UnauthorizedRequestCopyWith<_$UnauthorizedRequest> get copyWith => - __$$UnauthorizedRequestCopyWithImpl<_$UnauthorizedRequest>( + _$$UnauthorizedRequestImplCopyWith<_$UnauthorizedRequestImpl> get copyWith => + __$$UnauthorizedRequestImplCopyWithImpl<_$UnauthorizedRequestImpl>( this, _$identity); @override @@ -342,34 +342,35 @@ class _$UnauthorizedRequest implements UnauthorizedRequest { } abstract class UnauthorizedRequest implements NetworkException { - const factory UnauthorizedRequest(final dynamic body) = _$UnauthorizedRequest; + const factory UnauthorizedRequest(final dynamic body) = + _$UnauthorizedRequestImpl; dynamic get body; @JsonKey(ignore: true) - _$$UnauthorizedRequestCopyWith<_$UnauthorizedRequest> get copyWith => + _$$UnauthorizedRequestImplCopyWith<_$UnauthorizedRequestImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$BadRequestCopyWith<$Res> { - factory _$$BadRequestCopyWith( - _$BadRequest value, $Res Function(_$BadRequest) then) = - __$$BadRequestCopyWithImpl<$Res>; +abstract class _$$BadRequestImplCopyWith<$Res> { + factory _$$BadRequestImplCopyWith( + _$BadRequestImpl value, $Res Function(_$BadRequestImpl) then) = + __$$BadRequestImplCopyWithImpl<$Res>; } /// @nodoc -class __$$BadRequestCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$BadRequest> - implements _$$BadRequestCopyWith<$Res> { - __$$BadRequestCopyWithImpl( - _$BadRequest _value, $Res Function(_$BadRequest) _then) +class __$$BadRequestImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$BadRequestImpl> + implements _$$BadRequestImplCopyWith<$Res> { + __$$BadRequestImplCopyWithImpl( + _$BadRequestImpl _value, $Res Function(_$BadRequestImpl) _then) : super(_value, _then); } /// @nodoc -class _$BadRequest implements BadRequest { - const _$BadRequest(); +class _$BadRequestImpl implements BadRequest { + const _$BadRequestImpl(); @override String toString() { @@ -377,9 +378,9 @@ class _$BadRequest implements BadRequest { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$BadRequest); + (other.runtimeType == runtimeType && other is _$BadRequestImpl); } @override @@ -521,23 +522,24 @@ class _$BadRequest implements BadRequest { } abstract class BadRequest implements NetworkException { - const factory BadRequest() = _$BadRequest; + const factory BadRequest() = _$BadRequestImpl; } /// @nodoc -abstract class _$$NotFoundCopyWith<$Res> { - factory _$$NotFoundCopyWith( - _$NotFound value, $Res Function(_$NotFound) then) = - __$$NotFoundCopyWithImpl<$Res>; +abstract class _$$NotFoundImplCopyWith<$Res> { + factory _$$NotFoundImplCopyWith( + _$NotFoundImpl value, $Res Function(_$NotFoundImpl) then) = + __$$NotFoundImplCopyWithImpl<$Res>; @useResult $Res call({String reason}); } /// @nodoc -class __$$NotFoundCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$NotFound> - implements _$$NotFoundCopyWith<$Res> { - __$$NotFoundCopyWithImpl(_$NotFound _value, $Res Function(_$NotFound) _then) +class __$$NotFoundImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$NotFoundImpl> + implements _$$NotFoundImplCopyWith<$Res> { + __$$NotFoundImplCopyWithImpl( + _$NotFoundImpl _value, $Res Function(_$NotFoundImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -545,7 +547,7 @@ class __$$NotFoundCopyWithImpl<$Res> $Res call({ Object? reason = null, }) { - return _then(_$NotFound( + return _then(_$NotFoundImpl( null == reason ? _value.reason : reason // ignore: cast_nullable_to_non_nullable @@ -556,8 +558,8 @@ class __$$NotFoundCopyWithImpl<$Res> /// @nodoc -class _$NotFound implements NotFound { - const _$NotFound(this.reason); +class _$NotFoundImpl implements NotFound { + const _$NotFoundImpl(this.reason); @override final String reason; @@ -568,10 +570,10 @@ class _$NotFound implements NotFound { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$NotFound && + other is _$NotFoundImpl && (identical(other.reason, reason) || other.reason == reason)); } @@ -581,8 +583,8 @@ class _$NotFound implements NotFound { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$NotFoundCopyWith<_$NotFound> get copyWith => - __$$NotFoundCopyWithImpl<_$NotFound>(this, _$identity); + _$$NotFoundImplCopyWith<_$NotFoundImpl> get copyWith => + __$$NotFoundImplCopyWithImpl<_$NotFoundImpl>(this, _$identity); @override @optionalTypeArgs @@ -720,34 +722,34 @@ class _$NotFound implements NotFound { } abstract class NotFound implements NetworkException { - const factory NotFound(final String reason) = _$NotFound; + const factory NotFound(final String reason) = _$NotFoundImpl; String get reason; @JsonKey(ignore: true) - _$$NotFoundCopyWith<_$NotFound> get copyWith => + _$$NotFoundImplCopyWith<_$NotFoundImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$MethodNotAllowedCopyWith<$Res> { - factory _$$MethodNotAllowedCopyWith( - _$MethodNotAllowed value, $Res Function(_$MethodNotAllowed) then) = - __$$MethodNotAllowedCopyWithImpl<$Res>; +abstract class _$$MethodNotAllowedImplCopyWith<$Res> { + factory _$$MethodNotAllowedImplCopyWith(_$MethodNotAllowedImpl value, + $Res Function(_$MethodNotAllowedImpl) then) = + __$$MethodNotAllowedImplCopyWithImpl<$Res>; } /// @nodoc -class __$$MethodNotAllowedCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$MethodNotAllowed> - implements _$$MethodNotAllowedCopyWith<$Res> { - __$$MethodNotAllowedCopyWithImpl( - _$MethodNotAllowed _value, $Res Function(_$MethodNotAllowed) _then) +class __$$MethodNotAllowedImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$MethodNotAllowedImpl> + implements _$$MethodNotAllowedImplCopyWith<$Res> { + __$$MethodNotAllowedImplCopyWithImpl(_$MethodNotAllowedImpl _value, + $Res Function(_$MethodNotAllowedImpl) _then) : super(_value, _then); } /// @nodoc -class _$MethodNotAllowed implements MethodNotAllowed { - const _$MethodNotAllowed(); +class _$MethodNotAllowedImpl implements MethodNotAllowed { + const _$MethodNotAllowedImpl(); @override String toString() { @@ -755,9 +757,9 @@ class _$MethodNotAllowed implements MethodNotAllowed { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$MethodNotAllowed); + (other.runtimeType == runtimeType && other is _$MethodNotAllowedImpl); } @override @@ -899,29 +901,29 @@ class _$MethodNotAllowed implements MethodNotAllowed { } abstract class MethodNotAllowed implements NetworkException { - const factory MethodNotAllowed() = _$MethodNotAllowed; + const factory MethodNotAllowed() = _$MethodNotAllowedImpl; } /// @nodoc -abstract class _$$NotAcceptableCopyWith<$Res> { - factory _$$NotAcceptableCopyWith( - _$NotAcceptable value, $Res Function(_$NotAcceptable) then) = - __$$NotAcceptableCopyWithImpl<$Res>; +abstract class _$$NotAcceptableImplCopyWith<$Res> { + factory _$$NotAcceptableImplCopyWith( + _$NotAcceptableImpl value, $Res Function(_$NotAcceptableImpl) then) = + __$$NotAcceptableImplCopyWithImpl<$Res>; } /// @nodoc -class __$$NotAcceptableCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$NotAcceptable> - implements _$$NotAcceptableCopyWith<$Res> { - __$$NotAcceptableCopyWithImpl( - _$NotAcceptable _value, $Res Function(_$NotAcceptable) _then) +class __$$NotAcceptableImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$NotAcceptableImpl> + implements _$$NotAcceptableImplCopyWith<$Res> { + __$$NotAcceptableImplCopyWithImpl( + _$NotAcceptableImpl _value, $Res Function(_$NotAcceptableImpl) _then) : super(_value, _then); } /// @nodoc -class _$NotAcceptable implements NotAcceptable { - const _$NotAcceptable(); +class _$NotAcceptableImpl implements NotAcceptable { + const _$NotAcceptableImpl(); @override String toString() { @@ -929,9 +931,9 @@ class _$NotAcceptable implements NotAcceptable { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$NotAcceptable); + (other.runtimeType == runtimeType && other is _$NotAcceptableImpl); } @override @@ -1073,28 +1075,29 @@ class _$NotAcceptable implements NotAcceptable { } abstract class NotAcceptable implements NetworkException { - const factory NotAcceptable() = _$NotAcceptable; + const factory NotAcceptable() = _$NotAcceptableImpl; } /// @nodoc -abstract class _$$ConflictCopyWith<$Res> { - factory _$$ConflictCopyWith( - _$Conflict value, $Res Function(_$Conflict) then) = - __$$ConflictCopyWithImpl<$Res>; +abstract class _$$ConflictImplCopyWith<$Res> { + factory _$$ConflictImplCopyWith( + _$ConflictImpl value, $Res Function(_$ConflictImpl) then) = + __$$ConflictImplCopyWithImpl<$Res>; } /// @nodoc -class __$$ConflictCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$Conflict> - implements _$$ConflictCopyWith<$Res> { - __$$ConflictCopyWithImpl(_$Conflict _value, $Res Function(_$Conflict) _then) +class __$$ConflictImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$ConflictImpl> + implements _$$ConflictImplCopyWith<$Res> { + __$$ConflictImplCopyWithImpl( + _$ConflictImpl _value, $Res Function(_$ConflictImpl) _then) : super(_value, _then); } /// @nodoc -class _$Conflict implements Conflict { - const _$Conflict(); +class _$ConflictImpl implements Conflict { + const _$ConflictImpl(); @override String toString() { @@ -1102,9 +1105,9 @@ class _$Conflict implements Conflict { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$Conflict); + (other.runtimeType == runtimeType && other is _$ConflictImpl); } @override @@ -1246,29 +1249,29 @@ class _$Conflict implements Conflict { } abstract class Conflict implements NetworkException { - const factory Conflict() = _$Conflict; + const factory Conflict() = _$ConflictImpl; } /// @nodoc -abstract class _$$InternalServerErrorCopyWith<$Res> { - factory _$$InternalServerErrorCopyWith(_$InternalServerError value, - $Res Function(_$InternalServerError) then) = - __$$InternalServerErrorCopyWithImpl<$Res>; +abstract class _$$InternalServerErrorImplCopyWith<$Res> { + factory _$$InternalServerErrorImplCopyWith(_$InternalServerErrorImpl value, + $Res Function(_$InternalServerErrorImpl) then) = + __$$InternalServerErrorImplCopyWithImpl<$Res>; } /// @nodoc -class __$$InternalServerErrorCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$InternalServerError> - implements _$$InternalServerErrorCopyWith<$Res> { - __$$InternalServerErrorCopyWithImpl( - _$InternalServerError _value, $Res Function(_$InternalServerError) _then) +class __$$InternalServerErrorImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$InternalServerErrorImpl> + implements _$$InternalServerErrorImplCopyWith<$Res> { + __$$InternalServerErrorImplCopyWithImpl(_$InternalServerErrorImpl _value, + $Res Function(_$InternalServerErrorImpl) _then) : super(_value, _then); } /// @nodoc -class _$InternalServerError implements InternalServerError { - const _$InternalServerError(); +class _$InternalServerErrorImpl implements InternalServerError { + const _$InternalServerErrorImpl(); @override String toString() { @@ -1276,9 +1279,10 @@ class _$InternalServerError implements InternalServerError { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$InternalServerError); + (other.runtimeType == runtimeType && + other is _$InternalServerErrorImpl); } @override @@ -1420,29 +1424,29 @@ class _$InternalServerError implements InternalServerError { } abstract class InternalServerError implements NetworkException { - const factory InternalServerError() = _$InternalServerError; + const factory InternalServerError() = _$InternalServerErrorImpl; } /// @nodoc -abstract class _$$NotImplementedCopyWith<$Res> { - factory _$$NotImplementedCopyWith( - _$NotImplemented value, $Res Function(_$NotImplemented) then) = - __$$NotImplementedCopyWithImpl<$Res>; +abstract class _$$NotImplementedImplCopyWith<$Res> { + factory _$$NotImplementedImplCopyWith(_$NotImplementedImpl value, + $Res Function(_$NotImplementedImpl) then) = + __$$NotImplementedImplCopyWithImpl<$Res>; } /// @nodoc -class __$$NotImplementedCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$NotImplemented> - implements _$$NotImplementedCopyWith<$Res> { - __$$NotImplementedCopyWithImpl( - _$NotImplemented _value, $Res Function(_$NotImplemented) _then) +class __$$NotImplementedImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$NotImplementedImpl> + implements _$$NotImplementedImplCopyWith<$Res> { + __$$NotImplementedImplCopyWithImpl( + _$NotImplementedImpl _value, $Res Function(_$NotImplementedImpl) _then) : super(_value, _then); } /// @nodoc -class _$NotImplemented implements NotImplemented { - const _$NotImplemented(); +class _$NotImplementedImpl implements NotImplemented { + const _$NotImplementedImpl(); @override String toString() { @@ -1450,9 +1454,9 @@ class _$NotImplemented implements NotImplemented { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$NotImplemented); + (other.runtimeType == runtimeType && other is _$NotImplementedImpl); } @override @@ -1594,29 +1598,29 @@ class _$NotImplemented implements NotImplemented { } abstract class NotImplemented implements NetworkException { - const factory NotImplemented() = _$NotImplemented; + const factory NotImplemented() = _$NotImplementedImpl; } /// @nodoc -abstract class _$$ServiceUnavailableCopyWith<$Res> { - factory _$$ServiceUnavailableCopyWith(_$ServiceUnavailable value, - $Res Function(_$ServiceUnavailable) then) = - __$$ServiceUnavailableCopyWithImpl<$Res>; +abstract class _$$ServiceUnavailableImplCopyWith<$Res> { + factory _$$ServiceUnavailableImplCopyWith(_$ServiceUnavailableImpl value, + $Res Function(_$ServiceUnavailableImpl) then) = + __$$ServiceUnavailableImplCopyWithImpl<$Res>; } /// @nodoc -class __$$ServiceUnavailableCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$ServiceUnavailable> - implements _$$ServiceUnavailableCopyWith<$Res> { - __$$ServiceUnavailableCopyWithImpl( - _$ServiceUnavailable _value, $Res Function(_$ServiceUnavailable) _then) +class __$$ServiceUnavailableImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$ServiceUnavailableImpl> + implements _$$ServiceUnavailableImplCopyWith<$Res> { + __$$ServiceUnavailableImplCopyWithImpl(_$ServiceUnavailableImpl _value, + $Res Function(_$ServiceUnavailableImpl) _then) : super(_value, _then); } /// @nodoc -class _$ServiceUnavailable implements ServiceUnavailable { - const _$ServiceUnavailable(); +class _$ServiceUnavailableImpl implements ServiceUnavailable { + const _$ServiceUnavailableImpl(); @override String toString() { @@ -1624,9 +1628,9 @@ class _$ServiceUnavailable implements ServiceUnavailable { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$ServiceUnavailable); + (other.runtimeType == runtimeType && other is _$ServiceUnavailableImpl); } @override @@ -1768,29 +1772,29 @@ class _$ServiceUnavailable implements ServiceUnavailable { } abstract class ServiceUnavailable implements NetworkException { - const factory ServiceUnavailable() = _$ServiceUnavailable; + const factory ServiceUnavailable() = _$ServiceUnavailableImpl; } /// @nodoc -abstract class _$$NoInternetConnectionCopyWith<$Res> { - factory _$$NoInternetConnectionCopyWith(_$NoInternetConnection value, - $Res Function(_$NoInternetConnection) then) = - __$$NoInternetConnectionCopyWithImpl<$Res>; +abstract class _$$NoInternetConnectionImplCopyWith<$Res> { + factory _$$NoInternetConnectionImplCopyWith(_$NoInternetConnectionImpl value, + $Res Function(_$NoInternetConnectionImpl) then) = + __$$NoInternetConnectionImplCopyWithImpl<$Res>; } /// @nodoc -class __$$NoInternetConnectionCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$NoInternetConnection> - implements _$$NoInternetConnectionCopyWith<$Res> { - __$$NoInternetConnectionCopyWithImpl(_$NoInternetConnection _value, - $Res Function(_$NoInternetConnection) _then) +class __$$NoInternetConnectionImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$NoInternetConnectionImpl> + implements _$$NoInternetConnectionImplCopyWith<$Res> { + __$$NoInternetConnectionImplCopyWithImpl(_$NoInternetConnectionImpl _value, + $Res Function(_$NoInternetConnectionImpl) _then) : super(_value, _then); } /// @nodoc -class _$NoInternetConnection implements NoInternetConnection { - const _$NoInternetConnection(); +class _$NoInternetConnectionImpl implements NoInternetConnection { + const _$NoInternetConnectionImpl(); @override String toString() { @@ -1798,9 +1802,10 @@ class _$NoInternetConnection implements NoInternetConnection { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$NoInternetConnection); + (other.runtimeType == runtimeType && + other is _$NoInternetConnectionImpl); } @override @@ -1942,29 +1947,29 @@ class _$NoInternetConnection implements NoInternetConnection { } abstract class NoInternetConnection implements NetworkException { - const factory NoInternetConnection() = _$NoInternetConnection; + const factory NoInternetConnection() = _$NoInternetConnectionImpl; } /// @nodoc -abstract class _$$FormatExceptionCopyWith<$Res> { - factory _$$FormatExceptionCopyWith( - _$FormatException value, $Res Function(_$FormatException) then) = - __$$FormatExceptionCopyWithImpl<$Res>; +abstract class _$$FormatExceptionImplCopyWith<$Res> { + factory _$$FormatExceptionImplCopyWith(_$FormatExceptionImpl value, + $Res Function(_$FormatExceptionImpl) then) = + __$$FormatExceptionImplCopyWithImpl<$Res>; } /// @nodoc -class __$$FormatExceptionCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$FormatException> - implements _$$FormatExceptionCopyWith<$Res> { - __$$FormatExceptionCopyWithImpl( - _$FormatException _value, $Res Function(_$FormatException) _then) +class __$$FormatExceptionImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$FormatExceptionImpl> + implements _$$FormatExceptionImplCopyWith<$Res> { + __$$FormatExceptionImplCopyWithImpl( + _$FormatExceptionImpl _value, $Res Function(_$FormatExceptionImpl) _then) : super(_value, _then); } /// @nodoc -class _$FormatException implements FormatException { - const _$FormatException(); +class _$FormatExceptionImpl implements FormatException { + const _$FormatExceptionImpl(); @override String toString() { @@ -1972,9 +1977,9 @@ class _$FormatException implements FormatException { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$FormatException); + (other.runtimeType == runtimeType && other is _$FormatExceptionImpl); } @override @@ -2116,29 +2121,29 @@ class _$FormatException implements FormatException { } abstract class FormatException implements NetworkException { - const factory FormatException() = _$FormatException; + const factory FormatException() = _$FormatExceptionImpl; } /// @nodoc -abstract class _$$UnableToProcessCopyWith<$Res> { - factory _$$UnableToProcessCopyWith( - _$UnableToProcess value, $Res Function(_$UnableToProcess) then) = - __$$UnableToProcessCopyWithImpl<$Res>; +abstract class _$$UnableToProcessImplCopyWith<$Res> { + factory _$$UnableToProcessImplCopyWith(_$UnableToProcessImpl value, + $Res Function(_$UnableToProcessImpl) then) = + __$$UnableToProcessImplCopyWithImpl<$Res>; } /// @nodoc -class __$$UnableToProcessCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$UnableToProcess> - implements _$$UnableToProcessCopyWith<$Res> { - __$$UnableToProcessCopyWithImpl( - _$UnableToProcess _value, $Res Function(_$UnableToProcess) _then) +class __$$UnableToProcessImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$UnableToProcessImpl> + implements _$$UnableToProcessImplCopyWith<$Res> { + __$$UnableToProcessImplCopyWithImpl( + _$UnableToProcessImpl _value, $Res Function(_$UnableToProcessImpl) _then) : super(_value, _then); } /// @nodoc -class _$UnableToProcess implements UnableToProcess { - const _$UnableToProcess(); +class _$UnableToProcessImpl implements UnableToProcess { + const _$UnableToProcessImpl(); @override String toString() { @@ -2146,9 +2151,9 @@ class _$UnableToProcess implements UnableToProcess { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$UnableToProcess); + (other.runtimeType == runtimeType && other is _$UnableToProcessImpl); } @override @@ -2290,24 +2295,24 @@ class _$UnableToProcess implements UnableToProcess { } abstract class UnableToProcess implements NetworkException { - const factory UnableToProcess() = _$UnableToProcess; + const factory UnableToProcess() = _$UnableToProcessImpl; } /// @nodoc -abstract class _$$DefaultErrorCopyWith<$Res> { - factory _$$DefaultErrorCopyWith( - _$DefaultError value, $Res Function(_$DefaultError) then) = - __$$DefaultErrorCopyWithImpl<$Res>; +abstract class _$$DefaultErrorImplCopyWith<$Res> { + factory _$$DefaultErrorImplCopyWith( + _$DefaultErrorImpl value, $Res Function(_$DefaultErrorImpl) then) = + __$$DefaultErrorImplCopyWithImpl<$Res>; @useResult $Res call({int? code, String? error}); } /// @nodoc -class __$$DefaultErrorCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$DefaultError> - implements _$$DefaultErrorCopyWith<$Res> { - __$$DefaultErrorCopyWithImpl( - _$DefaultError _value, $Res Function(_$DefaultError) _then) +class __$$DefaultErrorImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$DefaultErrorImpl> + implements _$$DefaultErrorImplCopyWith<$Res> { + __$$DefaultErrorImplCopyWithImpl( + _$DefaultErrorImpl _value, $Res Function(_$DefaultErrorImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2316,7 +2321,7 @@ class __$$DefaultErrorCopyWithImpl<$Res> Object? code = freezed, Object? error = freezed, }) { - return _then(_$DefaultError( + return _then(_$DefaultErrorImpl( freezed == code ? _value.code : code // ignore: cast_nullable_to_non_nullable @@ -2331,8 +2336,8 @@ class __$$DefaultErrorCopyWithImpl<$Res> /// @nodoc -class _$DefaultError implements DefaultError { - const _$DefaultError(this.code, this.error); +class _$DefaultErrorImpl implements DefaultError { + const _$DefaultErrorImpl(this.code, this.error); @override final int? code; @@ -2345,10 +2350,10 @@ class _$DefaultError implements DefaultError { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DefaultError && + other is _$DefaultErrorImpl && (identical(other.code, code) || other.code == code) && (identical(other.error, error) || other.error == error)); } @@ -2359,8 +2364,8 @@ class _$DefaultError implements DefaultError { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DefaultErrorCopyWith<_$DefaultError> get copyWith => - __$$DefaultErrorCopyWithImpl<_$DefaultError>(this, _$identity); + _$$DefaultErrorImplCopyWith<_$DefaultErrorImpl> get copyWith => + __$$DefaultErrorImplCopyWithImpl<_$DefaultErrorImpl>(this, _$identity); @override @optionalTypeArgs @@ -2499,35 +2504,35 @@ class _$DefaultError implements DefaultError { abstract class DefaultError implements NetworkException { const factory DefaultError(final int? code, final String? error) = - _$DefaultError; + _$DefaultErrorImpl; int? get code; String? get error; @JsonKey(ignore: true) - _$$DefaultErrorCopyWith<_$DefaultError> get copyWith => + _$$DefaultErrorImplCopyWith<_$DefaultErrorImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$UnexpectedErrorCopyWith<$Res> { - factory _$$UnexpectedErrorCopyWith( - _$UnexpectedError value, $Res Function(_$UnexpectedError) then) = - __$$UnexpectedErrorCopyWithImpl<$Res>; +abstract class _$$UnexpectedErrorImplCopyWith<$Res> { + factory _$$UnexpectedErrorImplCopyWith(_$UnexpectedErrorImpl value, + $Res Function(_$UnexpectedErrorImpl) then) = + __$$UnexpectedErrorImplCopyWithImpl<$Res>; } /// @nodoc -class __$$UnexpectedErrorCopyWithImpl<$Res> - extends _$NetworkExceptionCopyWithImpl<$Res, _$UnexpectedError> - implements _$$UnexpectedErrorCopyWith<$Res> { - __$$UnexpectedErrorCopyWithImpl( - _$UnexpectedError _value, $Res Function(_$UnexpectedError) _then) +class __$$UnexpectedErrorImplCopyWithImpl<$Res> + extends _$NetworkExceptionCopyWithImpl<$Res, _$UnexpectedErrorImpl> + implements _$$UnexpectedErrorImplCopyWith<$Res> { + __$$UnexpectedErrorImplCopyWithImpl( + _$UnexpectedErrorImpl _value, $Res Function(_$UnexpectedErrorImpl) _then) : super(_value, _then); } /// @nodoc -class _$UnexpectedError implements UnexpectedError { - const _$UnexpectedError(); +class _$UnexpectedErrorImpl implements UnexpectedError { + const _$UnexpectedErrorImpl(); @override String toString() { @@ -2535,9 +2540,9 @@ class _$UnexpectedError implements UnexpectedError { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$UnexpectedError); + (other.runtimeType == runtimeType && other is _$UnexpectedErrorImpl); } @override @@ -2679,5 +2684,5 @@ class _$UnexpectedError implements UnexpectedError { } abstract class UnexpectedError implements NetworkException { - const factory UnexpectedError() = _$UnexpectedError; + const factory UnexpectedError() = _$UnexpectedErrorImpl; } diff --git a/lib/core/model/service/responses/github_file_response.freezed.dart b/lib/core/model/service/responses/github_file_response.freezed.dart index a849b5f..5ef9f1a 100644 --- a/lib/core/model/service/responses/github_file_response.freezed.dart +++ b/lib/core/model/service/responses/github_file_response.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'github_file_response.dart'; @@ -74,22 +74,22 @@ class _$GitHubFileCopyWithImpl<$Res, $Val extends GitHubFile> } /// @nodoc -abstract class _$$_GitHubFileCopyWith<$Res> +abstract class _$$GitHubFileImplCopyWith<$Res> implements $GitHubFileCopyWith<$Res> { - factory _$$_GitHubFileCopyWith( - _$_GitHubFile value, $Res Function(_$_GitHubFile) then) = - __$$_GitHubFileCopyWithImpl<$Res>; + factory _$$GitHubFileImplCopyWith( + _$GitHubFileImpl value, $Res Function(_$GitHubFileImpl) then) = + __$$GitHubFileImplCopyWithImpl<$Res>; @override @useResult $Res call({String path, String url, GitHubFileType type}); } /// @nodoc -class __$$_GitHubFileCopyWithImpl<$Res> - extends _$GitHubFileCopyWithImpl<$Res, _$_GitHubFile> - implements _$$_GitHubFileCopyWith<$Res> { - __$$_GitHubFileCopyWithImpl( - _$_GitHubFile _value, $Res Function(_$_GitHubFile) _then) +class __$$GitHubFileImplCopyWithImpl<$Res> + extends _$GitHubFileCopyWithImpl<$Res, _$GitHubFileImpl> + implements _$$GitHubFileImplCopyWith<$Res> { + __$$GitHubFileImplCopyWithImpl( + _$GitHubFileImpl _value, $Res Function(_$GitHubFileImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -99,7 +99,7 @@ class __$$_GitHubFileCopyWithImpl<$Res> Object? url = null, Object? type = null, }) { - return _then(_$_GitHubFile( + return _then(_$GitHubFileImpl( path: null == path ? _value.path : path // ignore: cast_nullable_to_non_nullable @@ -119,11 +119,11 @@ class __$$_GitHubFileCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GitHubFile implements _GitHubFile { - _$_GitHubFile({required this.path, required this.url, required this.type}); +class _$GitHubFileImpl implements _GitHubFile { + _$GitHubFileImpl({required this.path, required this.url, required this.type}); - factory _$_GitHubFile.fromJson(Map json) => - _$$_GitHubFileFromJson(json); + factory _$GitHubFileImpl.fromJson(Map json) => + _$$GitHubFileImplFromJson(json); @override final String path; @@ -138,10 +138,10 @@ class _$_GitHubFile implements _GitHubFile { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GitHubFile && + other is _$GitHubFileImpl && (identical(other.path, path) || other.path == path) && (identical(other.url, url) || other.url == url) && (identical(other.type, type) || other.type == type)); @@ -154,12 +154,12 @@ class _$_GitHubFile implements _GitHubFile { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GitHubFileCopyWith<_$_GitHubFile> get copyWith => - __$$_GitHubFileCopyWithImpl<_$_GitHubFile>(this, _$identity); + _$$GitHubFileImplCopyWith<_$GitHubFileImpl> get copyWith => + __$$GitHubFileImplCopyWithImpl<_$GitHubFileImpl>(this, _$identity); @override Map toJson() { - return _$$_GitHubFileToJson( + return _$$GitHubFileImplToJson( this, ); } @@ -169,10 +169,10 @@ abstract class _GitHubFile implements GitHubFile { factory _GitHubFile( {required final String path, required final String url, - required final GitHubFileType type}) = _$_GitHubFile; + required final GitHubFileType type}) = _$GitHubFileImpl; factory _GitHubFile.fromJson(Map json) = - _$_GitHubFile.fromJson; + _$GitHubFileImpl.fromJson; @override String get path; @@ -182,6 +182,6 @@ abstract class _GitHubFile implements GitHubFile { GitHubFileType get type; @override @JsonKey(ignore: true) - _$$_GitHubFileCopyWith<_$_GitHubFile> get copyWith => + _$$GitHubFileImplCopyWith<_$GitHubFileImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/core/model/service/responses/github_file_response.g.dart b/lib/core/model/service/responses/github_file_response.g.dart index 18c4a39..2e2e83d 100644 --- a/lib/core/model/service/responses/github_file_response.g.dart +++ b/lib/core/model/service/responses/github_file_response.g.dart @@ -6,14 +6,14 @@ part of 'github_file_response.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GitHubFile _$$_GitHubFileFromJson(Map json) => - _$_GitHubFile( +_$GitHubFileImpl _$$GitHubFileImplFromJson(Map json) => + _$GitHubFileImpl( path: json['path'] as String, url: json['url'] as String, type: $enumDecode(_$GitHubFileTypeEnumMap, json['type']), ); -Map _$$_GitHubFileToJson(_$_GitHubFile instance) => +Map _$$GitHubFileImplToJson(_$GitHubFileImpl instance) => { 'path': instance.path, 'url': instance.url, diff --git a/lib/core/model/service/responses/github_tree_response.freezed.dart b/lib/core/model/service/responses/github_tree_response.freezed.dart index 7ecfc7c..d94b945 100644 --- a/lib/core/model/service/responses/github_tree_response.freezed.dart +++ b/lib/core/model/service/responses/github_tree_response.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'github_tree_response.dart'; @@ -62,22 +62,22 @@ class _$GitHubTreeResponseCopyWithImpl<$Res, $Val extends GitHubTreeResponse> } /// @nodoc -abstract class _$$_GitHiubTreeResponseCopyWith<$Res> +abstract class _$$GitHiubTreeResponseImplCopyWith<$Res> implements $GitHubTreeResponseCopyWith<$Res> { - factory _$$_GitHiubTreeResponseCopyWith(_$_GitHiubTreeResponse value, - $Res Function(_$_GitHiubTreeResponse) then) = - __$$_GitHiubTreeResponseCopyWithImpl<$Res>; + factory _$$GitHiubTreeResponseImplCopyWith(_$GitHiubTreeResponseImpl value, + $Res Function(_$GitHiubTreeResponseImpl) then) = + __$$GitHiubTreeResponseImplCopyWithImpl<$Res>; @override @useResult $Res call({List tree}); } /// @nodoc -class __$$_GitHiubTreeResponseCopyWithImpl<$Res> - extends _$GitHubTreeResponseCopyWithImpl<$Res, _$_GitHiubTreeResponse> - implements _$$_GitHiubTreeResponseCopyWith<$Res> { - __$$_GitHiubTreeResponseCopyWithImpl(_$_GitHiubTreeResponse _value, - $Res Function(_$_GitHiubTreeResponse) _then) +class __$$GitHiubTreeResponseImplCopyWithImpl<$Res> + extends _$GitHubTreeResponseCopyWithImpl<$Res, _$GitHiubTreeResponseImpl> + implements _$$GitHiubTreeResponseImplCopyWith<$Res> { + __$$GitHiubTreeResponseImplCopyWithImpl(_$GitHiubTreeResponseImpl _value, + $Res Function(_$GitHiubTreeResponseImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -85,7 +85,7 @@ class __$$_GitHiubTreeResponseCopyWithImpl<$Res> $Res call({ Object? tree = null, }) { - return _then(_$_GitHiubTreeResponse( + return _then(_$GitHiubTreeResponseImpl( tree: null == tree ? _value._tree : tree // ignore: cast_nullable_to_non_nullable @@ -97,15 +97,17 @@ class __$$_GitHiubTreeResponseCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GitHiubTreeResponse implements _GitHiubTreeResponse { - _$_GitHiubTreeResponse({required final List tree}) : _tree = tree; +class _$GitHiubTreeResponseImpl implements _GitHiubTreeResponse { + _$GitHiubTreeResponseImpl({required final List tree}) + : _tree = tree; - factory _$_GitHiubTreeResponse.fromJson(Map json) => - _$$_GitHiubTreeResponseFromJson(json); + factory _$GitHiubTreeResponseImpl.fromJson(Map json) => + _$$GitHiubTreeResponseImplFromJson(json); final List _tree; @override List get tree { + if (_tree is EqualUnmodifiableListView) return _tree; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_tree); } @@ -116,10 +118,10 @@ class _$_GitHiubTreeResponse implements _GitHiubTreeResponse { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GitHiubTreeResponse && + other is _$GitHiubTreeResponseImpl && const DeepCollectionEquality().equals(other._tree, _tree)); } @@ -131,13 +133,13 @@ class _$_GitHiubTreeResponse implements _GitHiubTreeResponse { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GitHiubTreeResponseCopyWith<_$_GitHiubTreeResponse> get copyWith => - __$$_GitHiubTreeResponseCopyWithImpl<_$_GitHiubTreeResponse>( + _$$GitHiubTreeResponseImplCopyWith<_$GitHiubTreeResponseImpl> get copyWith => + __$$GitHiubTreeResponseImplCopyWithImpl<_$GitHiubTreeResponseImpl>( this, _$identity); @override Map toJson() { - return _$$_GitHiubTreeResponseToJson( + return _$$GitHiubTreeResponseImplToJson( this, ); } @@ -145,15 +147,15 @@ class _$_GitHiubTreeResponse implements _GitHiubTreeResponse { abstract class _GitHiubTreeResponse implements GitHubTreeResponse { factory _GitHiubTreeResponse({required final List tree}) = - _$_GitHiubTreeResponse; + _$GitHiubTreeResponseImpl; factory _GitHiubTreeResponse.fromJson(Map json) = - _$_GitHiubTreeResponse.fromJson; + _$GitHiubTreeResponseImpl.fromJson; @override List get tree; @override @JsonKey(ignore: true) - _$$_GitHiubTreeResponseCopyWith<_$_GitHiubTreeResponse> get copyWith => + _$$GitHiubTreeResponseImplCopyWith<_$GitHiubTreeResponseImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/core/model/service/responses/github_tree_response.g.dart b/lib/core/model/service/responses/github_tree_response.g.dart index 3d605e2..18f9323 100644 --- a/lib/core/model/service/responses/github_tree_response.g.dart +++ b/lib/core/model/service/responses/github_tree_response.g.dart @@ -6,16 +6,16 @@ part of 'github_tree_response.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GitHiubTreeResponse _$$_GitHiubTreeResponseFromJson( +_$GitHiubTreeResponseImpl _$$GitHiubTreeResponseImplFromJson( Map json) => - _$_GitHiubTreeResponse( + _$GitHiubTreeResponseImpl( tree: (json['tree'] as List) .map((e) => GitHubFile.fromJson(e as Map)) .toList(), ); -Map _$$_GitHiubTreeResponseToJson( - _$_GitHiubTreeResponse instance) => +Map _$$GitHiubTreeResponseImplToJson( + _$GitHiubTreeResponseImpl instance) => { 'tree': instance.tree.map((e) => e.toJson()).toList(), }; diff --git a/lib/core/model/service/responses/service_response.freezed.dart b/lib/core/model/service/responses/service_response.freezed.dart index 5d5b5d3..c5e2023 100644 --- a/lib/core/model/service/responses/service_response.freezed.dart +++ b/lib/core/model/service/responses/service_response.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'service_response.dart'; @@ -75,29 +75,29 @@ class _$ServiceResponseCopyWithImpl> } /// @nodoc -abstract class _$$ServiceResponseDataCopyWith { - factory _$$ServiceResponseDataCopyWith(_$ServiceResponseData value, - $Res Function(_$ServiceResponseData) then) = - __$$ServiceResponseDataCopyWithImpl; +abstract class _$$ServiceResponseDataImplCopyWith { + factory _$$ServiceResponseDataImplCopyWith(_$ServiceResponseDataImpl value, + $Res Function(_$ServiceResponseDataImpl) then) = + __$$ServiceResponseDataImplCopyWithImpl; @useResult $Res call({T data}); } /// @nodoc -class __$$ServiceResponseDataCopyWithImpl - extends _$ServiceResponseCopyWithImpl> - implements _$$ServiceResponseDataCopyWith { - __$$ServiceResponseDataCopyWithImpl(_$ServiceResponseData _value, - $Res Function(_$ServiceResponseData) _then) +class __$$ServiceResponseDataImplCopyWithImpl + extends _$ServiceResponseCopyWithImpl> + implements _$$ServiceResponseDataImplCopyWith { + __$$ServiceResponseDataImplCopyWithImpl(_$ServiceResponseDataImpl _value, + $Res Function(_$ServiceResponseDataImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ - Object? data = null, + Object? data = freezed, }) { - return _then(_$ServiceResponseData( - null == data + return _then(_$ServiceResponseDataImpl( + freezed == data ? _value.data : data // ignore: cast_nullable_to_non_nullable as T, @@ -107,8 +107,8 @@ class __$$ServiceResponseDataCopyWithImpl /// @nodoc -class _$ServiceResponseData implements ServiceResponseData { - _$ServiceResponseData(this.data); +class _$ServiceResponseDataImpl implements ServiceResponseData { + _$ServiceResponseDataImpl(this.data); @override final T data; @@ -119,10 +119,10 @@ class _$ServiceResponseData implements ServiceResponseData { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$ServiceResponseData && + other is _$ServiceResponseDataImpl && const DeepCollectionEquality().equals(other.data, data)); } @@ -133,9 +133,9 @@ class _$ServiceResponseData implements ServiceResponseData { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$ServiceResponseDataCopyWith> get copyWith => - __$$ServiceResponseDataCopyWithImpl>( - this, _$identity); + _$$ServiceResponseDataImplCopyWith> + get copyWith => __$$ServiceResponseDataImplCopyWithImpl>(this, _$identity); @override @optionalTypeArgs @@ -201,19 +201,20 @@ class _$ServiceResponseData implements ServiceResponseData { } abstract class ServiceResponseData implements ServiceResponse { - factory ServiceResponseData(final T data) = _$ServiceResponseData; + factory ServiceResponseData(final T data) = _$ServiceResponseDataImpl; T get data; @JsonKey(ignore: true) - _$$ServiceResponseDataCopyWith> get copyWith => - throw _privateConstructorUsedError; + _$$ServiceResponseDataImplCopyWith> + get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$ServiceResponseErrorCopyWith { - factory _$$ServiceResponseErrorCopyWith(_$ServiceResponseError value, - $Res Function(_$ServiceResponseError) then) = - __$$ServiceResponseErrorCopyWithImpl; +abstract class _$$ServiceResponseErrorImplCopyWith { + factory _$$ServiceResponseErrorImplCopyWith( + _$ServiceResponseErrorImpl value, + $Res Function(_$ServiceResponseErrorImpl) then) = + __$$ServiceResponseErrorImplCopyWithImpl; @useResult $Res call({NetworkException error}); @@ -221,11 +222,12 @@ abstract class _$$ServiceResponseErrorCopyWith { } /// @nodoc -class __$$ServiceResponseErrorCopyWithImpl - extends _$ServiceResponseCopyWithImpl> - implements _$$ServiceResponseErrorCopyWith { - __$$ServiceResponseErrorCopyWithImpl(_$ServiceResponseError _value, - $Res Function(_$ServiceResponseError) _then) +class __$$ServiceResponseErrorImplCopyWithImpl + extends _$ServiceResponseCopyWithImpl> + implements _$$ServiceResponseErrorImplCopyWith { + __$$ServiceResponseErrorImplCopyWithImpl(_$ServiceResponseErrorImpl _value, + $Res Function(_$ServiceResponseErrorImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -233,7 +235,7 @@ class __$$ServiceResponseErrorCopyWithImpl $Res call({ Object? error = null, }) { - return _then(_$ServiceResponseError( + return _then(_$ServiceResponseErrorImpl( null == error ? _value.error : error // ignore: cast_nullable_to_non_nullable @@ -252,8 +254,8 @@ class __$$ServiceResponseErrorCopyWithImpl /// @nodoc -class _$ServiceResponseError implements ServiceResponseError { - _$ServiceResponseError(this.error); +class _$ServiceResponseErrorImpl implements ServiceResponseError { + _$ServiceResponseErrorImpl(this.error); @override final NetworkException error; @@ -264,10 +266,10 @@ class _$ServiceResponseError implements ServiceResponseError { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$ServiceResponseError && + other is _$ServiceResponseErrorImpl && (identical(other.error, error) || other.error == error)); } @@ -277,9 +279,9 @@ class _$ServiceResponseError implements ServiceResponseError { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$ServiceResponseErrorCopyWith> get copyWith => - __$$ServiceResponseErrorCopyWithImpl>( - this, _$identity); + _$$ServiceResponseErrorImplCopyWith> + get copyWith => __$$ServiceResponseErrorImplCopyWithImpl>(this, _$identity); @override @optionalTypeArgs @@ -346,10 +348,10 @@ class _$ServiceResponseError implements ServiceResponseError { abstract class ServiceResponseError implements ServiceResponse { factory ServiceResponseError(final NetworkException error) = - _$ServiceResponseError; + _$ServiceResponseErrorImpl; NetworkException get error; @JsonKey(ignore: true) - _$$ServiceResponseErrorCopyWith> get copyWith => - throw _privateConstructorUsedError; + _$$ServiceResponseErrorImplCopyWith> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/core/model/tip.freezed.dart b/lib/core/model/tip.freezed.dart index f660a68..66a7b4e 100644 --- a/lib/core/model/tip.freezed.dart +++ b/lib/core/model/tip.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'tip.dart'; @@ -116,9 +116,9 @@ class _$TipCopyWithImpl<$Res, $Val extends Tip> implements $TipCopyWith<$Res> { } /// @nodoc -abstract class _$$_TipCopyWith<$Res> implements $TipCopyWith<$Res> { - factory _$$_TipCopyWith(_$_Tip value, $Res Function(_$_Tip) then) = - __$$_TipCopyWithImpl<$Res>; +abstract class _$$TipImplCopyWith<$Res> implements $TipCopyWith<$Res> { + factory _$$TipImplCopyWith(_$TipImpl value, $Res Function(_$TipImpl) then) = + __$$TipImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -134,9 +134,9 @@ abstract class _$$_TipCopyWith<$Res> implements $TipCopyWith<$Res> { } /// @nodoc -class __$$_TipCopyWithImpl<$Res> extends _$TipCopyWithImpl<$Res, _$_Tip> - implements _$$_TipCopyWith<$Res> { - __$$_TipCopyWithImpl(_$_Tip _value, $Res Function(_$_Tip) _then) +class __$$TipImplCopyWithImpl<$Res> extends _$TipCopyWithImpl<$Res, _$TipImpl> + implements _$$TipImplCopyWith<$Res> { + __$$TipImplCopyWithImpl(_$TipImpl _value, $Res Function(_$TipImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -152,7 +152,7 @@ class __$$_TipCopyWithImpl<$Res> extends _$TipCopyWithImpl<$Res, _$_Tip> Object? favouriteDate = freezed, Object? amountViews = null, }) { - return _then(_$_Tip( + return _then(_$TipImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable @@ -196,8 +196,8 @@ class __$$_TipCopyWithImpl<$Res> extends _$TipCopyWithImpl<$Res, _$_Tip> /// @nodoc @JsonSerializable() -class _$_Tip implements _Tip { - _$_Tip( +class _$TipImpl implements _Tip { + _$TipImpl( {required this.id, required this.name, required this.url, @@ -208,7 +208,8 @@ class _$_Tip implements _Tip { this.favouriteDate, this.amountViews = 0}); - factory _$_Tip.fromJson(Map json) => _$$_TipFromJson(json); + factory _$TipImpl.fromJson(Map json) => + _$$TipImplFromJson(json); @override final String id; @@ -236,10 +237,10 @@ class _$_Tip implements _Tip { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_Tip && + other is _$TipImpl && (identical(other.id, id) || other.id == id) && (identical(other.name, name) || other.name == name) && (identical(other.url, url) || other.url == url) && @@ -263,12 +264,12 @@ class _$_Tip implements _Tip { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_TipCopyWith<_$_Tip> get copyWith => - __$$_TipCopyWithImpl<_$_Tip>(this, _$identity); + _$$TipImplCopyWith<_$TipImpl> get copyWith => + __$$TipImplCopyWithImpl<_$TipImpl>(this, _$identity); @override Map toJson() { - return _$$_TipToJson( + return _$$TipImplToJson( this, ); } @@ -284,9 +285,9 @@ abstract class _Tip implements Tip { required final String? mdUrl, required final int randomId, final DateTime? favouriteDate, - final int amountViews}) = _$_Tip; + final int amountViews}) = _$TipImpl; - factory _Tip.fromJson(Map json) = _$_Tip.fromJson; + factory _Tip.fromJson(Map json) = _$TipImpl.fromJson; @override String get id; @@ -308,5 +309,6 @@ abstract class _Tip implements Tip { int get amountViews; @override @JsonKey(ignore: true) - _$$_TipCopyWith<_$_Tip> get copyWith => throw _privateConstructorUsedError; + _$$TipImplCopyWith<_$TipImpl> get copyWith => + throw _privateConstructorUsedError; } diff --git a/lib/core/model/tip.g.dart b/lib/core/model/tip.g.dart index ff96a21..948d736 100644 --- a/lib/core/model/tip.g.dart +++ b/lib/core/model/tip.g.dart @@ -6,7 +6,7 @@ part of 'tip.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_Tip _$$_TipFromJson(Map json) => _$_Tip( +_$TipImpl _$$TipImplFromJson(Map json) => _$TipImpl( id: json['id'] as String, name: json['name'] as String, url: json['url'] as String, @@ -20,7 +20,7 @@ _$_Tip _$$_TipFromJson(Map json) => _$_Tip( amountViews: json['amount_views'] as int? ?? 0, ); -Map _$$_TipToJson(_$_Tip instance) => { +Map _$$TipImplToJson(_$TipImpl instance) => { 'id': instance.id, 'name': instance.name, 'url': instance.url, diff --git a/lib/ui/about/about_cubit.freezed.dart b/lib/ui/about/about_cubit.freezed.dart index 4ca87df..19582c3 100644 --- a/lib/ui/about/about_cubit.freezed.dart +++ b/lib/ui/about/about_cubit.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'about_cubit.dart'; @@ -69,25 +69,25 @@ class _$AboutBaseStateCopyWithImpl<$Res, $Val extends AboutBaseState> } /// @nodoc -abstract class _$$_AboutStateCopyWith<$Res> { - factory _$$_AboutStateCopyWith( - _$_AboutState value, $Res Function(_$_AboutState) then) = - __$$_AboutStateCopyWithImpl<$Res>; +abstract class _$$AboutStateImplCopyWith<$Res> { + factory _$$AboutStateImplCopyWith( + _$AboutStateImpl value, $Res Function(_$AboutStateImpl) then) = + __$$AboutStateImplCopyWithImpl<$Res>; } /// @nodoc -class __$$_AboutStateCopyWithImpl<$Res> - extends _$AboutBaseStateCopyWithImpl<$Res, _$_AboutState> - implements _$$_AboutStateCopyWith<$Res> { - __$$_AboutStateCopyWithImpl( - _$_AboutState _value, $Res Function(_$_AboutState) _then) +class __$$AboutStateImplCopyWithImpl<$Res> + extends _$AboutBaseStateCopyWithImpl<$Res, _$AboutStateImpl> + implements _$$AboutStateImplCopyWith<$Res> { + __$$AboutStateImplCopyWithImpl( + _$AboutStateImpl _value, $Res Function(_$AboutStateImpl) _then) : super(_value, _then); } /// @nodoc -class _$_AboutState implements _AboutState { - const _$_AboutState(); +class _$AboutStateImpl implements _AboutState { + const _$AboutStateImpl(); @override String toString() { @@ -95,9 +95,9 @@ class _$_AboutState implements _AboutState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$_AboutState); + (other.runtimeType == runtimeType && other is _$AboutStateImpl); } @override @@ -161,5 +161,5 @@ class _$_AboutState implements _AboutState { } abstract class _AboutState implements AboutBaseState { - const factory _AboutState() = _$_AboutState; + const factory _AboutState() = _$AboutStateImpl; } diff --git a/lib/ui/catalog/catalog_screen.dart b/lib/ui/catalog/catalog_screen.dart index 63579a8..50e170c 100644 --- a/lib/ui/catalog/catalog_screen.dart +++ b/lib/ui/catalog/catalog_screen.dart @@ -3,7 +3,6 @@ import 'package:flutter/material.dart'; import 'package:fluttips/ui/common/app_secondary_button.dart'; import 'package:fluttips/ui/common/app_dialog.dart'; import 'package:fluttips/ui/common/fab.dart'; -import 'package:fluttips/ui/common/search_bar.dart'; import 'package:fluttips/ui/common/app_primary_button.dart'; class CatalogScreen extends StatefulWidget { @@ -14,12 +13,10 @@ class CatalogScreen extends StatefulWidget { } class CatalogScreenState extends State { - final controllerSearchBar = TextEditingController(); final controllerAppButton = TextEditingController(); @override void dispose() { - controllerSearchBar.dispose(); controllerAppButton.dispose(); super.dispose(); } @@ -41,10 +38,6 @@ class CatalogScreenState extends State { ), child: null, ), - SearchBar( - controller: controllerSearchBar, - action: (word) => print('writing'), - ), AppSecondaryButton( text: 'hello', action: controllerAppButton.clear, diff --git a/lib/ui/common/fab.freezed.dart b/lib/ui/common/fab.freezed.dart index e1456ab..820f50b 100644 --- a/lib/ui/common/fab.freezed.dart +++ b/lib/ui/common/fab.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'fab.dart'; @@ -74,25 +74,25 @@ class _$FabStateCopyWithImpl<$Res, $Val extends FabState> } /// @nodoc -abstract class _$$_FabNotSelectedCopyWith<$Res> { - factory _$$_FabNotSelectedCopyWith( - _$_FabNotSelected value, $Res Function(_$_FabNotSelected) then) = - __$$_FabNotSelectedCopyWithImpl<$Res>; +abstract class _$$FabNotSelectedImplCopyWith<$Res> { + factory _$$FabNotSelectedImplCopyWith(_$FabNotSelectedImpl value, + $Res Function(_$FabNotSelectedImpl) then) = + __$$FabNotSelectedImplCopyWithImpl<$Res>; } /// @nodoc -class __$$_FabNotSelectedCopyWithImpl<$Res> - extends _$FabStateCopyWithImpl<$Res, _$_FabNotSelected> - implements _$$_FabNotSelectedCopyWith<$Res> { - __$$_FabNotSelectedCopyWithImpl( - _$_FabNotSelected _value, $Res Function(_$_FabNotSelected) _then) +class __$$FabNotSelectedImplCopyWithImpl<$Res> + extends _$FabStateCopyWithImpl<$Res, _$FabNotSelectedImpl> + implements _$$FabNotSelectedImplCopyWith<$Res> { + __$$FabNotSelectedImplCopyWithImpl( + _$FabNotSelectedImpl _value, $Res Function(_$FabNotSelectedImpl) _then) : super(_value, _then); } /// @nodoc -class _$_FabNotSelected implements _FabNotSelected { - const _$_FabNotSelected(); +class _$FabNotSelectedImpl implements _FabNotSelected { + const _$FabNotSelectedImpl(); @override String toString() { @@ -100,9 +100,9 @@ class _$_FabNotSelected implements _FabNotSelected { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$_FabNotSelected); + (other.runtimeType == runtimeType && other is _$FabNotSelectedImpl); } @override @@ -172,29 +172,29 @@ class _$_FabNotSelected implements _FabNotSelected { } abstract class _FabNotSelected implements FabState { - const factory _FabNotSelected() = _$_FabNotSelected; + const factory _FabNotSelected() = _$FabNotSelectedImpl; } /// @nodoc -abstract class _$$_FabSelectedCopyWith<$Res> { - factory _$$_FabSelectedCopyWith( - _$_FabSelected value, $Res Function(_$_FabSelected) then) = - __$$_FabSelectedCopyWithImpl<$Res>; +abstract class _$$FabSelectedImplCopyWith<$Res> { + factory _$$FabSelectedImplCopyWith( + _$FabSelectedImpl value, $Res Function(_$FabSelectedImpl) then) = + __$$FabSelectedImplCopyWithImpl<$Res>; } /// @nodoc -class __$$_FabSelectedCopyWithImpl<$Res> - extends _$FabStateCopyWithImpl<$Res, _$_FabSelected> - implements _$$_FabSelectedCopyWith<$Res> { - __$$_FabSelectedCopyWithImpl( - _$_FabSelected _value, $Res Function(_$_FabSelected) _then) +class __$$FabSelectedImplCopyWithImpl<$Res> + extends _$FabStateCopyWithImpl<$Res, _$FabSelectedImpl> + implements _$$FabSelectedImplCopyWith<$Res> { + __$$FabSelectedImplCopyWithImpl( + _$FabSelectedImpl _value, $Res Function(_$FabSelectedImpl) _then) : super(_value, _then); } /// @nodoc -class _$_FabSelected implements _FabSelected { - const _$_FabSelected(); +class _$FabSelectedImpl implements _FabSelected { + const _$FabSelectedImpl(); @override String toString() { @@ -202,9 +202,9 @@ class _$_FabSelected implements _FabSelected { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$_FabSelected); + (other.runtimeType == runtimeType && other is _$FabSelectedImpl); } @override @@ -274,5 +274,5 @@ class _$_FabSelected implements _FabSelected { } abstract class _FabSelected implements FabState { - const factory _FabSelected() = _$_FabSelected; + const factory _FabSelected() = _$FabSelectedImpl; } diff --git a/lib/ui/favourites_tip_simple_list/favourites_tip_simple_list_cubit.freezed.dart b/lib/ui/favourites_tip_simple_list/favourites_tip_simple_list_cubit.freezed.dart index 61a7337..5d1e24c 100644 --- a/lib/ui/favourites_tip_simple_list/favourites_tip_simple_list_cubit.freezed.dart +++ b/lib/ui/favourites_tip_simple_list/favourites_tip_simple_list_cubit.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'favourites_tip_simple_list_cubit.dart'; @@ -98,25 +98,25 @@ class _$FavouritesTipSimpleListBaseStateCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_FavouritesTipsSimpleListStateCopyWith<$Res> +abstract class _$$FavouritesTipsSimpleListStateImplCopyWith<$Res> implements $FavouritesTipSimpleListBaseStateCopyWith<$Res> { - factory _$$_FavouritesTipsSimpleListStateCopyWith( - _$_FavouritesTipsSimpleListState value, - $Res Function(_$_FavouritesTipsSimpleListState) then) = - __$$_FavouritesTipsSimpleListStateCopyWithImpl<$Res>; + factory _$$FavouritesTipsSimpleListStateImplCopyWith( + _$FavouritesTipsSimpleListStateImpl value, + $Res Function(_$FavouritesTipsSimpleListStateImpl) then) = + __$$FavouritesTipsSimpleListStateImplCopyWithImpl<$Res>; @override @useResult $Res call({List tips, int currentPage}); } /// @nodoc -class __$$_FavouritesTipsSimpleListStateCopyWithImpl<$Res> +class __$$FavouritesTipsSimpleListStateImplCopyWithImpl<$Res> extends _$FavouritesTipSimpleListBaseStateCopyWithImpl<$Res, - _$_FavouritesTipsSimpleListState> - implements _$$_FavouritesTipsSimpleListStateCopyWith<$Res> { - __$$_FavouritesTipsSimpleListStateCopyWithImpl( - _$_FavouritesTipsSimpleListState _value, - $Res Function(_$_FavouritesTipsSimpleListState) _then) + _$FavouritesTipsSimpleListStateImpl> + implements _$$FavouritesTipsSimpleListStateImplCopyWith<$Res> { + __$$FavouritesTipsSimpleListStateImplCopyWithImpl( + _$FavouritesTipsSimpleListStateImpl _value, + $Res Function(_$FavouritesTipsSimpleListStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -125,7 +125,7 @@ class __$$_FavouritesTipsSimpleListStateCopyWithImpl<$Res> Object? tips = null, Object? currentPage = null, }) { - return _then(_$_FavouritesTipsSimpleListState( + return _then(_$FavouritesTipsSimpleListStateImpl( tips: null == tips ? _value._tips : tips // ignore: cast_nullable_to_non_nullable @@ -140,9 +140,9 @@ class __$$_FavouritesTipsSimpleListStateCopyWithImpl<$Res> /// @nodoc -class _$_FavouritesTipsSimpleListState +class _$FavouritesTipsSimpleListStateImpl implements _FavouritesTipsSimpleListState { - const _$_FavouritesTipsSimpleListState( + const _$FavouritesTipsSimpleListStateImpl( {final List tips = const [], this.currentPage = 0}) : _tips = tips; @@ -150,6 +150,7 @@ class _$_FavouritesTipsSimpleListState @override @JsonKey() List get tips { + if (_tips is EqualUnmodifiableListView) return _tips; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_tips); } @@ -164,10 +165,10 @@ class _$_FavouritesTipsSimpleListState } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_FavouritesTipsSimpleListState && + other is _$FavouritesTipsSimpleListStateImpl && const DeepCollectionEquality().equals(other._tips, _tips) && (identical(other.currentPage, currentPage) || other.currentPage == currentPage)); @@ -180,9 +181,10 @@ class _$_FavouritesTipsSimpleListState @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_FavouritesTipsSimpleListStateCopyWith<_$_FavouritesTipsSimpleListState> - get copyWith => __$$_FavouritesTipsSimpleListStateCopyWithImpl< - _$_FavouritesTipsSimpleListState>(this, _$identity); + _$$FavouritesTipsSimpleListStateImplCopyWith< + _$FavouritesTipsSimpleListStateImpl> + get copyWith => __$$FavouritesTipsSimpleListStateImplCopyWithImpl< + _$FavouritesTipsSimpleListStateImpl>(this, _$identity); @override @optionalTypeArgs @@ -245,7 +247,7 @@ abstract class _FavouritesTipsSimpleListState implements FavouritesTipSimpleListBaseState { const factory _FavouritesTipsSimpleListState( {final List tips, - final int currentPage}) = _$_FavouritesTipsSimpleListState; + final int currentPage}) = _$FavouritesTipsSimpleListStateImpl; @override List get tips; @@ -253,6 +255,7 @@ abstract class _FavouritesTipsSimpleListState int get currentPage; @override @JsonKey(ignore: true) - _$$_FavouritesTipsSimpleListStateCopyWith<_$_FavouritesTipsSimpleListState> + _$$FavouritesTipsSimpleListStateImplCopyWith< + _$FavouritesTipsSimpleListStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/home/home_cubit.freezed.dart b/lib/ui/home/home_cubit.freezed.dart index 1baca5b..9e5880b 100644 --- a/lib/ui/home/home_cubit.freezed.dart +++ b/lib/ui/home/home_cubit.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'home_cubit.dart'; @@ -95,22 +95,22 @@ class _$HomeBaseStateCopyWithImpl<$Res, $Val extends HomeBaseState> } /// @nodoc -abstract class _$$_HomeStateCopyWith<$Res> +abstract class _$$HomeStateImplCopyWith<$Res> implements $HomeBaseStateCopyWith<$Res> { - factory _$$_HomeStateCopyWith( - _$_HomeState value, $Res Function(_$_HomeState) then) = - __$$_HomeStateCopyWithImpl<$Res>; + factory _$$HomeStateImplCopyWith( + _$HomeStateImpl value, $Res Function(_$HomeStateImpl) then) = + __$$HomeStateImplCopyWithImpl<$Res>; @override @useResult $Res call({bool hideFabMenu, bool hideFavouriteFab}); } /// @nodoc -class __$$_HomeStateCopyWithImpl<$Res> - extends _$HomeBaseStateCopyWithImpl<$Res, _$_HomeState> - implements _$$_HomeStateCopyWith<$Res> { - __$$_HomeStateCopyWithImpl( - _$_HomeState _value, $Res Function(_$_HomeState) _then) +class __$$HomeStateImplCopyWithImpl<$Res> + extends _$HomeBaseStateCopyWithImpl<$Res, _$HomeStateImpl> + implements _$$HomeStateImplCopyWith<$Res> { + __$$HomeStateImplCopyWithImpl( + _$HomeStateImpl _value, $Res Function(_$HomeStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -119,7 +119,7 @@ class __$$_HomeStateCopyWithImpl<$Res> Object? hideFabMenu = null, Object? hideFavouriteFab = null, }) { - return _then(_$_HomeState( + return _then(_$HomeStateImpl( hideFabMenu: null == hideFabMenu ? _value.hideFabMenu : hideFabMenu // ignore: cast_nullable_to_non_nullable @@ -134,8 +134,9 @@ class __$$_HomeStateCopyWithImpl<$Res> /// @nodoc -class _$_HomeState implements _HomeState { - const _$_HomeState({this.hideFabMenu = false, this.hideFavouriteFab = false}); +class _$HomeStateImpl implements _HomeState { + const _$HomeStateImpl( + {this.hideFabMenu = false, this.hideFavouriteFab = false}); @override @JsonKey() @@ -150,10 +151,10 @@ class _$_HomeState implements _HomeState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_HomeState && + other is _$HomeStateImpl && (identical(other.hideFabMenu, hideFabMenu) || other.hideFabMenu == hideFabMenu) && (identical(other.hideFavouriteFab, hideFavouriteFab) || @@ -166,8 +167,8 @@ class _$_HomeState implements _HomeState { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_HomeStateCopyWith<_$_HomeState> get copyWith => - __$$_HomeStateCopyWithImpl<_$_HomeState>(this, _$identity); + _$$HomeStateImplCopyWith<_$HomeStateImpl> get copyWith => + __$$HomeStateImplCopyWithImpl<_$HomeStateImpl>(this, _$identity); @override @optionalTypeArgs @@ -228,7 +229,7 @@ class _$_HomeState implements _HomeState { abstract class _HomeState implements HomeBaseState { const factory _HomeState( - {final bool hideFabMenu, final bool hideFavouriteFab}) = _$_HomeState; + {final bool hideFabMenu, final bool hideFavouriteFab}) = _$HomeStateImpl; @override bool get hideFabMenu; @@ -236,6 +237,6 @@ abstract class _HomeState implements HomeBaseState { bool get hideFavouriteFab; @override @JsonKey(ignore: true) - _$$_HomeStateCopyWith<_$_HomeState> get copyWith => + _$$HomeStateImplCopyWith<_$HomeStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/image_tip_details/image_tip_details_screen_cubit.freezed.dart b/lib/ui/image_tip_details/image_tip_details_screen_cubit.freezed.dart index 41c6c5f..7b1c409 100644 --- a/lib/ui/image_tip_details/image_tip_details_screen_cubit.freezed.dart +++ b/lib/ui/image_tip_details/image_tip_details_screen_cubit.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'image_tip_details_screen_cubit.dart'; @@ -117,12 +117,12 @@ class _$TipsImageDetailsBaseStateCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_TipsImageDetailsBaseStateCopyWith<$Res> +abstract class _$$TipsImageDetailsBaseStateImplCopyWith<$Res> implements $TipsImageDetailsBaseStateCopyWith<$Res> { - factory _$$_TipsImageDetailsBaseStateCopyWith( - _$_TipsImageDetailsBaseState value, - $Res Function(_$_TipsImageDetailsBaseState) then) = - __$$_TipsImageDetailsBaseStateCopyWithImpl<$Res>; + factory _$$TipsImageDetailsBaseStateImplCopyWith( + _$TipsImageDetailsBaseStateImpl value, + $Res Function(_$TipsImageDetailsBaseStateImpl) then) = + __$$TipsImageDetailsBaseStateImplCopyWithImpl<$Res>; @override @useResult $Res call({List tips, int currentPage, Tip? currentTip}); @@ -132,13 +132,13 @@ abstract class _$$_TipsImageDetailsBaseStateCopyWith<$Res> } /// @nodoc -class __$$_TipsImageDetailsBaseStateCopyWithImpl<$Res> +class __$$TipsImageDetailsBaseStateImplCopyWithImpl<$Res> extends _$TipsImageDetailsBaseStateCopyWithImpl<$Res, - _$_TipsImageDetailsBaseState> - implements _$$_TipsImageDetailsBaseStateCopyWith<$Res> { - __$$_TipsImageDetailsBaseStateCopyWithImpl( - _$_TipsImageDetailsBaseState _value, - $Res Function(_$_TipsImageDetailsBaseState) _then) + _$TipsImageDetailsBaseStateImpl> + implements _$$TipsImageDetailsBaseStateImplCopyWith<$Res> { + __$$TipsImageDetailsBaseStateImplCopyWithImpl( + _$TipsImageDetailsBaseStateImpl _value, + $Res Function(_$TipsImageDetailsBaseStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -148,7 +148,7 @@ class __$$_TipsImageDetailsBaseStateCopyWithImpl<$Res> Object? currentPage = null, Object? currentTip = freezed, }) { - return _then(_$_TipsImageDetailsBaseState( + return _then(_$TipsImageDetailsBaseStateImpl( tips: null == tips ? _value._tips : tips // ignore: cast_nullable_to_non_nullable @@ -167,8 +167,8 @@ class __$$_TipsImageDetailsBaseStateCopyWithImpl<$Res> /// @nodoc -class _$_TipsImageDetailsBaseState implements _TipsImageDetailsBaseState { - const _$_TipsImageDetailsBaseState( +class _$TipsImageDetailsBaseStateImpl implements _TipsImageDetailsBaseState { + const _$TipsImageDetailsBaseStateImpl( {final List tips = const [], this.currentPage = 0, this.currentTip}) : _tips = tips; @@ -176,6 +176,7 @@ class _$_TipsImageDetailsBaseState implements _TipsImageDetailsBaseState { @override @JsonKey() List get tips { + if (_tips is EqualUnmodifiableListView) return _tips; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_tips); } @@ -192,10 +193,10 @@ class _$_TipsImageDetailsBaseState implements _TipsImageDetailsBaseState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_TipsImageDetailsBaseState && + other is _$TipsImageDetailsBaseStateImpl && const DeepCollectionEquality().equals(other._tips, _tips) && (identical(other.currentPage, currentPage) || other.currentPage == currentPage) && @@ -210,9 +211,9 @@ class _$_TipsImageDetailsBaseState implements _TipsImageDetailsBaseState { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_TipsImageDetailsBaseStateCopyWith<_$_TipsImageDetailsBaseState> - get copyWith => __$$_TipsImageDetailsBaseStateCopyWithImpl< - _$_TipsImageDetailsBaseState>(this, _$identity); + _$$TipsImageDetailsBaseStateImplCopyWith<_$TipsImageDetailsBaseStateImpl> + get copyWith => __$$TipsImageDetailsBaseStateImplCopyWithImpl< + _$TipsImageDetailsBaseStateImpl>(this, _$identity); @override @optionalTypeArgs @@ -276,7 +277,7 @@ abstract class _TipsImageDetailsBaseState implements TipsImageDetailsBaseState { const factory _TipsImageDetailsBaseState( {final List tips, final int currentPage, - final Tip? currentTip}) = _$_TipsImageDetailsBaseState; + final Tip? currentTip}) = _$TipsImageDetailsBaseStateImpl; @override List get tips; @@ -286,6 +287,6 @@ abstract class _TipsImageDetailsBaseState implements TipsImageDetailsBaseState { Tip? get currentTip; @override @JsonKey(ignore: true) - _$$_TipsImageDetailsBaseStateCopyWith<_$_TipsImageDetailsBaseState> + _$$TipsImageDetailsBaseStateImplCopyWith<_$TipsImageDetailsBaseStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/onboarding/onboarding_cubit.freezed.dart b/lib/ui/onboarding/onboarding_cubit.freezed.dart index 7a9a13f..399eab5 100644 --- a/lib/ui/onboarding/onboarding_cubit.freezed.dart +++ b/lib/ui/onboarding/onboarding_cubit.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'onboarding_cubit.dart'; @@ -89,22 +89,22 @@ class _$OnboardingBaseStateCopyWithImpl<$Res, $Val extends OnboardingBaseState> } /// @nodoc -abstract class _$$_OnboardingStateCopyWith<$Res> +abstract class _$$OnboardingStateImplCopyWith<$Res> implements $OnboardingBaseStateCopyWith<$Res> { - factory _$$_OnboardingStateCopyWith( - _$_OnboardingState value, $Res Function(_$_OnboardingState) then) = - __$$_OnboardingStateCopyWithImpl<$Res>; + factory _$$OnboardingStateImplCopyWith(_$OnboardingStateImpl value, + $Res Function(_$OnboardingStateImpl) then) = + __$$OnboardingStateImplCopyWithImpl<$Res>; @override @useResult $Res call({OnboardingStep onboardingStep}); } /// @nodoc -class __$$_OnboardingStateCopyWithImpl<$Res> - extends _$OnboardingBaseStateCopyWithImpl<$Res, _$_OnboardingState> - implements _$$_OnboardingStateCopyWith<$Res> { - __$$_OnboardingStateCopyWithImpl( - _$_OnboardingState _value, $Res Function(_$_OnboardingState) _then) +class __$$OnboardingStateImplCopyWithImpl<$Res> + extends _$OnboardingBaseStateCopyWithImpl<$Res, _$OnboardingStateImpl> + implements _$$OnboardingStateImplCopyWith<$Res> { + __$$OnboardingStateImplCopyWithImpl( + _$OnboardingStateImpl _value, $Res Function(_$OnboardingStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -112,7 +112,7 @@ class __$$_OnboardingStateCopyWithImpl<$Res> $Res call({ Object? onboardingStep = null, }) { - return _then(_$_OnboardingState( + return _then(_$OnboardingStateImpl( onboardingStep: null == onboardingStep ? _value.onboardingStep : onboardingStep // ignore: cast_nullable_to_non_nullable @@ -123,8 +123,8 @@ class __$$_OnboardingStateCopyWithImpl<$Res> /// @nodoc -class _$_OnboardingState implements _OnboardingState { - const _$_OnboardingState( +class _$OnboardingStateImpl implements _OnboardingState { + const _$OnboardingStateImpl( {this.onboardingStep = OnboardingStep.onboardingInitial}); @override @@ -137,10 +137,10 @@ class _$_OnboardingState implements _OnboardingState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_OnboardingState && + other is _$OnboardingStateImpl && (identical(other.onboardingStep, onboardingStep) || other.onboardingStep == onboardingStep)); } @@ -151,8 +151,9 @@ class _$_OnboardingState implements _OnboardingState { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_OnboardingStateCopyWith<_$_OnboardingState> get copyWith => - __$$_OnboardingStateCopyWithImpl<_$_OnboardingState>(this, _$identity); + _$$OnboardingStateImplCopyWith<_$OnboardingStateImpl> get copyWith => + __$$OnboardingStateImplCopyWithImpl<_$OnboardingStateImpl>( + this, _$identity); @override @optionalTypeArgs @@ -213,12 +214,12 @@ class _$_OnboardingState implements _OnboardingState { abstract class _OnboardingState implements OnboardingBaseState { const factory _OnboardingState({final OnboardingStep onboardingStep}) = - _$_OnboardingState; + _$OnboardingStateImpl; @override OnboardingStep get onboardingStep; @override @JsonKey(ignore: true) - _$$_OnboardingStateCopyWith<_$_OnboardingState> get copyWith => + _$$OnboardingStateImplCopyWith<_$OnboardingStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/section/error_handler/error_handler_cubit.dart b/lib/ui/section/error_handler/error_handler_cubit.dart index 512d8ff..07bfa36 100644 --- a/lib/ui/section/error_handler/error_handler_cubit.dart +++ b/lib/ui/section/error_handler/error_handler_cubit.dart @@ -10,7 +10,7 @@ part 'error_handler_cubit.freezed.dart'; part 'error_handler_state.dart'; class ErrorHandlerCubit extends Cubit - with GeneralErrorHandler { + implements GeneralErrorHandler { ErrorHandlerCubit() : super(const ErrorHandlerState.init()); @override @@ -32,7 +32,7 @@ class ErrorHandlerCubit extends Cubit } } -abstract class GeneralErrorHandler { +abstract interface class GeneralErrorHandler { void handleError( Object? error, [ StackTrace? stacktrace, diff --git a/lib/ui/section/error_handler/error_handler_cubit.freezed.dart b/lib/ui/section/error_handler/error_handler_cubit.freezed.dart index 9569ab9..9226f32 100644 --- a/lib/ui/section/error_handler/error_handler_cubit.freezed.dart +++ b/lib/ui/section/error_handler/error_handler_cubit.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'error_handler_cubit.dart'; @@ -91,27 +91,28 @@ class _$ErrorHandlerStateCopyWithImpl<$Res, $Val extends ErrorHandlerState> } /// @nodoc -abstract class _$$_InitErrorHandlerStateCopyWith<$Res> { - factory _$$_InitErrorHandlerStateCopyWith(_$_InitErrorHandlerState value, - $Res Function(_$_InitErrorHandlerState) then) = - __$$_InitErrorHandlerStateCopyWithImpl<$Res>; +abstract class _$$InitErrorHandlerStateImplCopyWith<$Res> { + factory _$$InitErrorHandlerStateImplCopyWith( + _$InitErrorHandlerStateImpl value, + $Res Function(_$InitErrorHandlerStateImpl) then) = + __$$InitErrorHandlerStateImplCopyWithImpl<$Res>; } /// @nodoc -class __$$_InitErrorHandlerStateCopyWithImpl<$Res> - extends _$ErrorHandlerStateCopyWithImpl<$Res, _$_InitErrorHandlerState> - implements _$$_InitErrorHandlerStateCopyWith<$Res> { - __$$_InitErrorHandlerStateCopyWithImpl(_$_InitErrorHandlerState _value, - $Res Function(_$_InitErrorHandlerState) _then) +class __$$InitErrorHandlerStateImplCopyWithImpl<$Res> + extends _$ErrorHandlerStateCopyWithImpl<$Res, _$InitErrorHandlerStateImpl> + implements _$$InitErrorHandlerStateImplCopyWith<$Res> { + __$$InitErrorHandlerStateImplCopyWithImpl(_$InitErrorHandlerStateImpl _value, + $Res Function(_$InitErrorHandlerStateImpl) _then) : super(_value, _then); } /// @nodoc -class _$_InitErrorHandlerState +class _$InitErrorHandlerStateImpl with DiagnosticableTreeMixin implements _InitErrorHandlerState { - const _$_InitErrorHandlerState(); + const _$InitErrorHandlerStateImpl(); @override String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { @@ -125,9 +126,10 @@ class _$_InitErrorHandlerState } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$_InitErrorHandlerState); + (other.runtimeType == runtimeType && + other is _$InitErrorHandlerStateImpl); } @override @@ -213,36 +215,38 @@ class _$_InitErrorHandlerState } abstract class _InitErrorHandlerState implements ErrorHandlerState { - const factory _InitErrorHandlerState() = _$_InitErrorHandlerState; + const factory _InitErrorHandlerState() = _$InitErrorHandlerStateImpl; } /// @nodoc -abstract class _$$_UnknownErrorHandlerStateCopyWith<$Res> { - factory _$$_UnknownErrorHandlerStateCopyWith( - _$_UnknownErrorHandlerState value, - $Res Function(_$_UnknownErrorHandlerState) then) = - __$$_UnknownErrorHandlerStateCopyWithImpl<$Res>; +abstract class _$$UnknownErrorHandlerStateImplCopyWith<$Res> { + factory _$$UnknownErrorHandlerStateImplCopyWith( + _$UnknownErrorHandlerStateImpl value, + $Res Function(_$UnknownErrorHandlerStateImpl) then) = + __$$UnknownErrorHandlerStateImplCopyWithImpl<$Res>; @useResult $Res call({Object? error, VoidCallback? retry}); } /// @nodoc -class __$$_UnknownErrorHandlerStateCopyWithImpl<$Res> - extends _$ErrorHandlerStateCopyWithImpl<$Res, _$_UnknownErrorHandlerState> - implements _$$_UnknownErrorHandlerStateCopyWith<$Res> { - __$$_UnknownErrorHandlerStateCopyWithImpl(_$_UnknownErrorHandlerState _value, - $Res Function(_$_UnknownErrorHandlerState) _then) +class __$$UnknownErrorHandlerStateImplCopyWithImpl<$Res> + extends _$ErrorHandlerStateCopyWithImpl<$Res, + _$UnknownErrorHandlerStateImpl> + implements _$$UnknownErrorHandlerStateImplCopyWith<$Res> { + __$$UnknownErrorHandlerStateImplCopyWithImpl( + _$UnknownErrorHandlerStateImpl _value, + $Res Function(_$UnknownErrorHandlerStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ Object? error = freezed, - Object? retry = null, + Object? retry = freezed, }) { - return _then(_$_UnknownErrorHandlerState( + return _then(_$UnknownErrorHandlerStateImpl( freezed == error ? _value.error : error, - null == retry + freezed == retry ? _value.retry : retry // ignore: cast_nullable_to_non_nullable as VoidCallback?, @@ -252,10 +256,10 @@ class __$$_UnknownErrorHandlerStateCopyWithImpl<$Res> /// @nodoc -class _$_UnknownErrorHandlerState +class _$UnknownErrorHandlerStateImpl with DiagnosticableTreeMixin implements _UnknownErrorHandlerState { - const _$_UnknownErrorHandlerState(this.error, [this.retry]); + const _$UnknownErrorHandlerStateImpl(this.error, [this.retry]); @override final Object? error; @@ -277,10 +281,10 @@ class _$_UnknownErrorHandlerState } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_UnknownErrorHandlerState && + other is _$UnknownErrorHandlerStateImpl && const DeepCollectionEquality().equals(other.error, error) && const DeepCollectionEquality().equals(other.retry, retry)); } @@ -294,9 +298,9 @@ class _$_UnknownErrorHandlerState @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_UnknownErrorHandlerStateCopyWith<_$_UnknownErrorHandlerState> - get copyWith => __$$_UnknownErrorHandlerStateCopyWithImpl< - _$_UnknownErrorHandlerState>(this, _$identity); + _$$UnknownErrorHandlerStateImplCopyWith<_$UnknownErrorHandlerStateImpl> + get copyWith => __$$UnknownErrorHandlerStateImplCopyWithImpl< + _$UnknownErrorHandlerStateImpl>(this, _$identity); @override @optionalTypeArgs @@ -379,41 +383,42 @@ class _$_UnknownErrorHandlerState abstract class _UnknownErrorHandlerState implements ErrorHandlerState { const factory _UnknownErrorHandlerState(final Object? error, - [final VoidCallback? retry]) = _$_UnknownErrorHandlerState; + [final VoidCallback? retry]) = _$UnknownErrorHandlerStateImpl; Object? get error; VoidCallback? get retry; @JsonKey(ignore: true) - _$$_UnknownErrorHandlerStateCopyWith<_$_UnknownErrorHandlerState> + _$$UnknownErrorHandlerStateImplCopyWith<_$UnknownErrorHandlerStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$_InternetErrorHandlerStateCopyWith<$Res> { - factory _$$_InternetErrorHandlerStateCopyWith( - _$_InternetErrorHandlerState value, - $Res Function(_$_InternetErrorHandlerState) then) = - __$$_InternetErrorHandlerStateCopyWithImpl<$Res>; +abstract class _$$InternetErrorHandlerStateImplCopyWith<$Res> { + factory _$$InternetErrorHandlerStateImplCopyWith( + _$InternetErrorHandlerStateImpl value, + $Res Function(_$InternetErrorHandlerStateImpl) then) = + __$$InternetErrorHandlerStateImplCopyWithImpl<$Res>; @useResult $Res call({VoidCallback? retry}); } /// @nodoc -class __$$_InternetErrorHandlerStateCopyWithImpl<$Res> - extends _$ErrorHandlerStateCopyWithImpl<$Res, _$_InternetErrorHandlerState> - implements _$$_InternetErrorHandlerStateCopyWith<$Res> { - __$$_InternetErrorHandlerStateCopyWithImpl( - _$_InternetErrorHandlerState _value, - $Res Function(_$_InternetErrorHandlerState) _then) +class __$$InternetErrorHandlerStateImplCopyWithImpl<$Res> + extends _$ErrorHandlerStateCopyWithImpl<$Res, + _$InternetErrorHandlerStateImpl> + implements _$$InternetErrorHandlerStateImplCopyWith<$Res> { + __$$InternetErrorHandlerStateImplCopyWithImpl( + _$InternetErrorHandlerStateImpl _value, + $Res Function(_$InternetErrorHandlerStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @override $Res call({ - Object? retry = null, + Object? retry = freezed, }) { - return _then(_$_InternetErrorHandlerState( - null == retry + return _then(_$InternetErrorHandlerStateImpl( + freezed == retry ? _value.retry : retry // ignore: cast_nullable_to_non_nullable as VoidCallback?, @@ -423,10 +428,10 @@ class __$$_InternetErrorHandlerStateCopyWithImpl<$Res> /// @nodoc -class _$_InternetErrorHandlerState +class _$InternetErrorHandlerStateImpl with DiagnosticableTreeMixin implements _InternetErrorHandlerState { - const _$_InternetErrorHandlerState([this.retry]); + const _$InternetErrorHandlerStateImpl([this.retry]); @override final VoidCallback? retry; @@ -445,10 +450,10 @@ class _$_InternetErrorHandlerState } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_InternetErrorHandlerState && + other is _$InternetErrorHandlerStateImpl && const DeepCollectionEquality().equals(other.retry, retry)); } @@ -459,9 +464,9 @@ class _$_InternetErrorHandlerState @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_InternetErrorHandlerStateCopyWith<_$_InternetErrorHandlerState> - get copyWith => __$$_InternetErrorHandlerStateCopyWithImpl< - _$_InternetErrorHandlerState>(this, _$identity); + _$$InternetErrorHandlerStateImplCopyWith<_$InternetErrorHandlerStateImpl> + get copyWith => __$$InternetErrorHandlerStateImplCopyWithImpl< + _$InternetErrorHandlerStateImpl>(this, _$identity); @override @optionalTypeArgs @@ -544,30 +549,32 @@ class _$_InternetErrorHandlerState abstract class _InternetErrorHandlerState implements ErrorHandlerState { const factory _InternetErrorHandlerState([final VoidCallback? retry]) = - _$_InternetErrorHandlerState; + _$InternetErrorHandlerStateImpl; VoidCallback? get retry; @JsonKey(ignore: true) - _$$_InternetErrorHandlerStateCopyWith<_$_InternetErrorHandlerState> + _$$InternetErrorHandlerStateImplCopyWith<_$InternetErrorHandlerStateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$_GeneralErrorHandlerStateCopyWith<$Res> { - factory _$$_GeneralErrorHandlerStateCopyWith( - _$_GeneralErrorHandlerState value, - $Res Function(_$_GeneralErrorHandlerState) then) = - __$$_GeneralErrorHandlerStateCopyWithImpl<$Res>; +abstract class _$$GeneralErrorHandlerStateImplCopyWith<$Res> { + factory _$$GeneralErrorHandlerStateImplCopyWith( + _$GeneralErrorHandlerStateImpl value, + $Res Function(_$GeneralErrorHandlerStateImpl) then) = + __$$GeneralErrorHandlerStateImplCopyWithImpl<$Res>; @useResult $Res call({String? title, String description, VoidCallback? retry}); } /// @nodoc -class __$$_GeneralErrorHandlerStateCopyWithImpl<$Res> - extends _$ErrorHandlerStateCopyWithImpl<$Res, _$_GeneralErrorHandlerState> - implements _$$_GeneralErrorHandlerStateCopyWith<$Res> { - __$$_GeneralErrorHandlerStateCopyWithImpl(_$_GeneralErrorHandlerState _value, - $Res Function(_$_GeneralErrorHandlerState) _then) +class __$$GeneralErrorHandlerStateImplCopyWithImpl<$Res> + extends _$ErrorHandlerStateCopyWithImpl<$Res, + _$GeneralErrorHandlerStateImpl> + implements _$$GeneralErrorHandlerStateImplCopyWith<$Res> { + __$$GeneralErrorHandlerStateImplCopyWithImpl( + _$GeneralErrorHandlerStateImpl _value, + $Res Function(_$GeneralErrorHandlerStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -575,9 +582,9 @@ class __$$_GeneralErrorHandlerStateCopyWithImpl<$Res> $Res call({ Object? title = freezed, Object? description = null, - Object? retry = null, + Object? retry = freezed, }) { - return _then(_$_GeneralErrorHandlerState( + return _then(_$GeneralErrorHandlerStateImpl( freezed == title ? _value.title : title // ignore: cast_nullable_to_non_nullable @@ -586,7 +593,7 @@ class __$$_GeneralErrorHandlerStateCopyWithImpl<$Res> ? _value.description : description // ignore: cast_nullable_to_non_nullable as String, - null == retry + freezed == retry ? _value.retry : retry // ignore: cast_nullable_to_non_nullable as VoidCallback?, @@ -596,10 +603,11 @@ class __$$_GeneralErrorHandlerStateCopyWithImpl<$Res> /// @nodoc -class _$_GeneralErrorHandlerState +class _$GeneralErrorHandlerStateImpl with DiagnosticableTreeMixin implements _GeneralErrorHandlerState { - const _$_GeneralErrorHandlerState(this.title, this.description, [this.retry]); + const _$GeneralErrorHandlerStateImpl(this.title, this.description, + [this.retry]); @override final String? title; @@ -624,10 +632,10 @@ class _$_GeneralErrorHandlerState } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GeneralErrorHandlerState && + other is _$GeneralErrorHandlerStateImpl && (identical(other.title, title) || other.title == title) && (identical(other.description, description) || other.description == description) && @@ -641,9 +649,9 @@ class _$_GeneralErrorHandlerState @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GeneralErrorHandlerStateCopyWith<_$_GeneralErrorHandlerState> - get copyWith => __$$_GeneralErrorHandlerStateCopyWithImpl< - _$_GeneralErrorHandlerState>(this, _$identity); + _$$GeneralErrorHandlerStateImplCopyWith<_$GeneralErrorHandlerStateImpl> + get copyWith => __$$GeneralErrorHandlerStateImplCopyWithImpl< + _$GeneralErrorHandlerStateImpl>(this, _$identity); @override @optionalTypeArgs @@ -727,12 +735,12 @@ class _$_GeneralErrorHandlerState abstract class _GeneralErrorHandlerState implements ErrorHandlerState { const factory _GeneralErrorHandlerState( final String? title, final String description, - [final VoidCallback? retry]) = _$_GeneralErrorHandlerState; + [final VoidCallback? retry]) = _$GeneralErrorHandlerStateImpl; String? get title; String get description; VoidCallback? get retry; @JsonKey(ignore: true) - _$$_GeneralErrorHandlerStateCopyWith<_$_GeneralErrorHandlerState> + _$$GeneralErrorHandlerStateImplCopyWith<_$GeneralErrorHandlerStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/section/error_handler/general_error.freezed.dart b/lib/ui/section/error_handler/general_error.freezed.dart index 4b9d587..8b746a3 100644 --- a/lib/ui/section/error_handler/general_error.freezed.dart +++ b/lib/ui/section/error_handler/general_error.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'general_error.dart'; @@ -49,7 +49,7 @@ class _$GeneralErrorCopyWithImpl<$Res, $Val extends GeneralError> $Res call({ Object? description = null, Object? title = freezed, - Object? cause = null, + Object? cause = freezed, }) { return _then(_value.copyWith( description: null == description @@ -60,7 +60,7 @@ class _$GeneralErrorCopyWithImpl<$Res, $Val extends GeneralError> ? _value.title : title // ignore: cast_nullable_to_non_nullable as String?, - cause: null == cause + cause: freezed == cause ? _value.cause : cause // ignore: cast_nullable_to_non_nullable as dynamic, @@ -69,22 +69,22 @@ class _$GeneralErrorCopyWithImpl<$Res, $Val extends GeneralError> } /// @nodoc -abstract class _$$_GeneralErrorCopyWith<$Res> +abstract class _$$GeneralErrorImplCopyWith<$Res> implements $GeneralErrorCopyWith<$Res> { - factory _$$_GeneralErrorCopyWith( - _$_GeneralError value, $Res Function(_$_GeneralError) then) = - __$$_GeneralErrorCopyWithImpl<$Res>; + factory _$$GeneralErrorImplCopyWith( + _$GeneralErrorImpl value, $Res Function(_$GeneralErrorImpl) then) = + __$$GeneralErrorImplCopyWithImpl<$Res>; @override @useResult $Res call({String description, String? title, dynamic cause}); } /// @nodoc -class __$$_GeneralErrorCopyWithImpl<$Res> - extends _$GeneralErrorCopyWithImpl<$Res, _$_GeneralError> - implements _$$_GeneralErrorCopyWith<$Res> { - __$$_GeneralErrorCopyWithImpl( - _$_GeneralError _value, $Res Function(_$_GeneralError) _then) +class __$$GeneralErrorImplCopyWithImpl<$Res> + extends _$GeneralErrorCopyWithImpl<$Res, _$GeneralErrorImpl> + implements _$$GeneralErrorImplCopyWith<$Res> { + __$$GeneralErrorImplCopyWithImpl( + _$GeneralErrorImpl _value, $Res Function(_$GeneralErrorImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -92,9 +92,9 @@ class __$$_GeneralErrorCopyWithImpl<$Res> $Res call({ Object? description = null, Object? title = freezed, - Object? cause = null, + Object? cause = freezed, }) { - return _then(_$_GeneralError( + return _then(_$GeneralErrorImpl( description: null == description ? _value.description : description // ignore: cast_nullable_to_non_nullable @@ -103,7 +103,7 @@ class __$$_GeneralErrorCopyWithImpl<$Res> ? _value.title : title // ignore: cast_nullable_to_non_nullable as String?, - cause: null == cause + cause: freezed == cause ? _value.cause : cause // ignore: cast_nullable_to_non_nullable as dynamic, @@ -113,8 +113,8 @@ class __$$_GeneralErrorCopyWithImpl<$Res> /// @nodoc -class _$_GeneralError implements _GeneralError { - const _$_GeneralError({required this.description, this.title, this.cause}); +class _$GeneralErrorImpl implements _GeneralError { + const _$GeneralErrorImpl({required this.description, this.title, this.cause}); @override final String description; @@ -129,10 +129,10 @@ class _$_GeneralError implements _GeneralError { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GeneralError && + other is _$GeneralErrorImpl && (identical(other.description, description) || other.description == description) && (identical(other.title, title) || other.title == title) && @@ -146,15 +146,15 @@ class _$_GeneralError implements _GeneralError { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GeneralErrorCopyWith<_$_GeneralError> get copyWith => - __$$_GeneralErrorCopyWithImpl<_$_GeneralError>(this, _$identity); + _$$GeneralErrorImplCopyWith<_$GeneralErrorImpl> get copyWith => + __$$GeneralErrorImplCopyWithImpl<_$GeneralErrorImpl>(this, _$identity); } abstract class _GeneralError implements GeneralError { const factory _GeneralError( {required final String description, final String? title, - final dynamic cause}) = _$_GeneralError; + final dynamic cause}) = _$GeneralErrorImpl; @override String get description; @@ -164,6 +164,6 @@ abstract class _GeneralError implements GeneralError { dynamic get cause; @override @JsonKey(ignore: true) - _$$_GeneralErrorCopyWith<_$_GeneralError> get copyWith => + _$$GeneralErrorImplCopyWith<_$GeneralErrorImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/section/global_ui/global_ui_cubit.freezed.dart b/lib/ui/section/global_ui/global_ui_cubit.freezed.dart index da1265b..aac7c4f 100644 --- a/lib/ui/section/global_ui/global_ui_cubit.freezed.dart +++ b/lib/ui/section/global_ui/global_ui_cubit.freezed.dart @@ -1,7 +1,7 @@ // coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'global_ui_cubit.dart'; @@ -89,22 +89,22 @@ class _$GlobalUIStateCopyWithImpl<$Res, $Val extends GlobalUIState> } /// @nodoc -abstract class _$$_GlobalUIStateCopyWith<$Res> +abstract class _$$GlobalUIStateImplCopyWith<$Res> implements $GlobalUIStateCopyWith<$Res> { - factory _$$_GlobalUIStateCopyWith( - _$_GlobalUIState value, $Res Function(_$_GlobalUIState) then) = - __$$_GlobalUIStateCopyWithImpl<$Res>; + factory _$$GlobalUIStateImplCopyWith( + _$GlobalUIStateImpl value, $Res Function(_$GlobalUIStateImpl) then) = + __$$GlobalUIStateImplCopyWithImpl<$Res>; @override @useResult $Res call({bool showUIActionComponent}); } /// @nodoc -class __$$_GlobalUIStateCopyWithImpl<$Res> - extends _$GlobalUIStateCopyWithImpl<$Res, _$_GlobalUIState> - implements _$$_GlobalUIStateCopyWith<$Res> { - __$$_GlobalUIStateCopyWithImpl( - _$_GlobalUIState _value, $Res Function(_$_GlobalUIState) _then) +class __$$GlobalUIStateImplCopyWithImpl<$Res> + extends _$GlobalUIStateCopyWithImpl<$Res, _$GlobalUIStateImpl> + implements _$$GlobalUIStateImplCopyWith<$Res> { + __$$GlobalUIStateImplCopyWithImpl( + _$GlobalUIStateImpl _value, $Res Function(_$GlobalUIStateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -112,7 +112,7 @@ class __$$_GlobalUIStateCopyWithImpl<$Res> $Res call({ Object? showUIActionComponent = null, }) { - return _then(_$_GlobalUIState( + return _then(_$GlobalUIStateImpl( showUIActionComponent: null == showUIActionComponent ? _value.showUIActionComponent : showUIActionComponent // ignore: cast_nullable_to_non_nullable @@ -123,8 +123,8 @@ class __$$_GlobalUIStateCopyWithImpl<$Res> /// @nodoc -class _$_GlobalUIState implements _GlobalUIState { - const _$_GlobalUIState({this.showUIActionComponent = true}); +class _$GlobalUIStateImpl implements _GlobalUIState { + const _$GlobalUIStateImpl({this.showUIActionComponent = true}); @override @JsonKey() @@ -136,10 +136,10 @@ class _$_GlobalUIState implements _GlobalUIState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GlobalUIState && + other is _$GlobalUIStateImpl && (identical(other.showUIActionComponent, showUIActionComponent) || other.showUIActionComponent == showUIActionComponent)); } @@ -150,8 +150,8 @@ class _$_GlobalUIState implements _GlobalUIState { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GlobalUIStateCopyWith<_$_GlobalUIState> get copyWith => - __$$_GlobalUIStateCopyWithImpl<_$_GlobalUIState>(this, _$identity); + _$$GlobalUIStateImplCopyWith<_$GlobalUIStateImpl> get copyWith => + __$$GlobalUIStateImplCopyWithImpl<_$GlobalUIStateImpl>(this, _$identity); @override @optionalTypeArgs @@ -212,12 +212,12 @@ class _$_GlobalUIState implements _GlobalUIState { abstract class _GlobalUIState implements GlobalUIState { const factory _GlobalUIState({final bool showUIActionComponent}) = - _$_GlobalUIState; + _$GlobalUIStateImpl; @override bool get showUIActionComponent; @override @JsonKey(ignore: true) - _$$_GlobalUIStateCopyWith<_$_GlobalUIState> get copyWith => + _$$GlobalUIStateImplCopyWith<_$GlobalUIStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/pubspec.lock b/pubspec.lock index a13b963..c2747bf 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,50 +5,26 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: "0c80aeab9bc807ab10022cd3b2f4cf2ecdf231949dc1ddd9442406a003f19201" + sha256: ae92f5d747aee634b87f89d9946000c2de774be1d6ac3e58268224348cd0101a url: "https://pub.dev" source: hosted - version: "52.0.0" + version: "61.0.0" _flutterfire_internals: dependency: transitive description: name: _flutterfire_internals - sha256: d2901ab922bc04fb1592998c10e78871b9d09419c6d9075967b4cfedb63a2e2d + sha256: f5628cd9c92ed11083f425fd1f8f1bc60ecdda458c81d73b143aeda036c35fe7 url: "https://pub.dev" source: hosted - version: "1.0.8" + version: "1.3.16" analyzer: dependency: transitive description: name: analyzer - sha256: cd8ee83568a77f3ae6b913a36093a1c9b1264e7cb7f834d9ddd2311dade9c1f4 + sha256: ea3d8652bda62982addfd92fdc2d0214e5f82e43325104990d4f4c4a2a313562 url: "https://pub.dev" source: hosted - version: "5.4.0" - analyzer_plugin: - dependency: transitive - description: - name: analyzer_plugin - sha256: c1d5f167683de03d5ab6c3b53fc9aeefc5d59476e7810ba7bbddff50c6f4392d - url: "https://pub.dev" - source: hosted - version: "0.11.2" - ansicolor: - dependency: transitive - description: - name: ansicolor - sha256: "607f8fa9786f392043f169898923e6c59b4518242b68b8862eb8a8b7d9c30b4a" - url: "https://pub.dev" - source: hosted - version: "2.0.1" - arb_utils: - dependency: "direct dev" - description: - name: arb_utils - sha256: e2b4d52c39fdba7981eb3a3358ebb6068dcb9f88f4d7d0266ed7df302a6385c2 - url: "https://pub.dev" - source: hosted - version: "0.4.0" + version: "5.13.0" archive: dependency: transitive description: @@ -69,10 +45,10 @@ packages: dependency: transitive description: name: async - sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted - version: "2.10.0" + version: "2.11.0" auto_route: dependency: "direct main" description: @@ -89,14 +65,6 @@ packages: url: "https://pub.dev" source: hosted version: "5.0.3" - basic_utils: - dependency: transitive - description: - name: basic_utils - sha256: da518c9316eb83e13c0016592c226396c328a038d4cdbed9b7b2783a79620bfb - url: "https://pub.dev" - source: hosted - version: "3.9.4" bloc: dependency: "direct main" description: @@ -141,10 +109,10 @@ packages: dependency: transitive description: name: build_daemon - sha256: "6bc5544ea6ce4428266e7ea680e945c68806c4aae2da0eb5e9ccf38df8d6acbf" + sha256: "5f02d73eb2ba16483e693f80bee4f088563a820e47d1027d4cdfe62b5bb43e65" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "4.0.0" build_resolvers: dependency: transitive description: @@ -157,10 +125,10 @@ packages: dependency: "direct dev" description: name: build_runner - sha256: "6f48c61a9dcd2c3a9e62d3dcdab1ba382790e2f31026288cbabe55d6003c9c23" + sha256: "67d591d602906ef9201caf93452495ad1812bea2074f04e25dbd7c133785821b" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.7" build_runner_core: dependency: transitive description: @@ -189,10 +157,10 @@ packages: dependency: transitive description: name: characters - sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.3.0" charcode: dependency: transitive description: @@ -209,22 +177,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.2" - chunked_stream: - dependency: transitive - description: - name: chunked_stream - sha256: a8a0dcb519bd603b397cd242152fe76861d7c65200be58cb8114d96226252ad3 - url: "https://pub.dev" - source: hosted - version: "1.4.1" - circular_buffer: - dependency: transitive - description: - name: circular_buffer - sha256: "2889afcfc97aa0d9a4930ae5fdf206aea7d0ac88a3649acec9130565cd8f45d8" - url: "https://pub.dev" - source: hosted - version: "0.11.0" cli_util: dependency: transitive description: @@ -241,22 +193,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.1" - cloud_firestore_platform_interface: - dependency: transitive - description: - name: cloud_firestore_platform_interface - sha256: b6d5b15383fc9b4bb6d6f0015cffb320b00d6e7bfb56046cfc93017a77aa3cea - url: "https://pub.dev" - source: hosted - version: "5.8.5" - cloud_firestore_web: - dependency: transitive - description: - name: cloud_firestore_web - sha256: "36ef9d3062538358147364da7be4d2c5948217c64893f7fa351d6641f703e0b1" - url: "https://pub.dev" - source: hosted - version: "3.0.5" code_builder: dependency: transitive description: @@ -269,10 +205,10 @@ packages: dependency: transitive description: name: collection - sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.17.0" + version: "1.17.2" color: dependency: transitive description: @@ -313,14 +249,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.17.2" - csv: - dependency: transitive - description: - name: csv - sha256: "18aef53ab72181a0b5384562d18c8cbd57e941e24cb8e54eb41409d3d8abdc6d" - url: "https://pub.dev" - source: hosted - version: "5.0.1" cupertino_icons: dependency: "direct main" description: @@ -329,30 +257,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.5" - dart_code_metrics: - dependency: "direct dev" - description: - name: dart_code_metrics - sha256: bb4ec5e729788dde5f7e8e9df4c05ec3b78532a5763e635337153ce40085514b - url: "https://pub.dev" - source: hosted - version: "5.5.1" - dart_code_metrics_presets: - dependency: transitive - description: - name: dart_code_metrics_presets - sha256: "43dc1fdcb424fc3aa79964304d09eeda4f199351c52cdc854f8228a9d0296b60" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - dart_console2: - dependency: transitive - description: - name: dart_console2 - sha256: ef1c79a8aef31bec96163e0f7ae399bd7ad93c37c6f42162a4e6f365a86a5013 - url: "https://pub.dev" - source: hosted - version: "2.0.1" dart_style: dependency: transitive description: @@ -369,22 +273,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" - dcli: - dependency: transitive - description: - name: dcli - sha256: b830c100b1deb1ff3dbc2ff8c210d4638b7dd1b37de25ecf638b4e7bfe7ca771 - url: "https://pub.dev" - source: hosted - version: "1.36.0" - dcli_core: - dependency: transitive - description: - name: dcli_core - sha256: "144a6cbc697ee98d9720630eea7927cfeaac8970c53364ea0b229fb9586f143d" - url: "https://pub.dev" - source: hosted - version: "1.36.0" dev_test: dependency: transitive description: @@ -433,54 +321,46 @@ packages: url: "https://pub.dev" source: hosted version: "6.1.4" - file_utils: - dependency: transitive - description: - name: file_utils - sha256: d1e64389a22649095c8405c9e177272caf05139255931c9ff30d53b5c9bcaa34 - url: "https://pub.dev" - source: hosted - version: "1.0.1" firebase_core: dependency: "direct main" description: name: firebase_core - sha256: "76a98f2c07d7c44d4669b9e63129e0c91a08a55f822a9f0fb3eb762cc5f44d96" + sha256: "96607c0e829a581c2a483c658f04e8b159964c3bae2730f73297070bc85d40bb" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.24.2" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface - sha256: "5fab93f5b354648efa62e7cc829c90efb68c8796eecf87e0888cae2d5f3accd4" + sha256: c437ae5d17e6b5cc7981cf6fd458a5db4d12979905f9aafd1fea930428a9fe63 url: "https://pub.dev" source: hosted - version: "4.5.2" + version: "5.0.0" firebase_core_web: dependency: transitive description: name: firebase_core_web - sha256: "18b35ce111b0a4266abf723c825bcf9d4e2519d13638cc7f06f2a8dd960c75bc" + sha256: d585bdf3c656c3f7821ba1bd44da5f13365d22fcecaf5eb75c4295246aaa83c0 url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.10.0" firebase_crashlytics: dependency: "direct main" description: name: firebase_crashlytics - sha256: "10570637e7c4fd164fe76ec7e0f03f5ee1468a01ed9fe0c2e40754ed69e6b87b" + sha256: "5ccdf05de039f9544d0ba41c5ae2052ca2425985d32229911b09f69981164518" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.4.8" firebase_crashlytics_platform_interface: dependency: transitive description: name: firebase_crashlytics_platform_interface - sha256: "1f7bd85b0e18a2cff6bfc5f3c7f53e3c7eb2c3cd47f270f6cd55d9eed5fddfab" + sha256: "359197344def001589c84f8d1d57c05f6e2e773f559205610ce58c25e2045a57" url: "https://pub.dev" source: hosted - version: "3.3.6" + version: "3.6.16" fixnum: dependency: transitive description: @@ -599,34 +479,34 @@ packages: dependency: "direct main" description: name: flutter_screenutil - sha256: "5e8f5197b4d0ec4b70d1c7afe055b18bba6ac27c00b309a98c25c11ba64eedf1" + sha256: "8cf100b8e4973dc570b6415a2090b0bfaa8756ad333db46939efc3e774ee100d" url: "https://pub.dev" source: hosted - version: "5.5.4" + version: "5.9.0" flutter_secure_storage: dependency: "direct main" description: name: flutter_secure_storage - sha256: a12d0213eab6848033b824fce82ef33229ec638debae46ef3d570d8b1146949b + sha256: ffdbb60130e4665d2af814a0267c481bcf522c41ae2e43caf69fa0146876d685 url: "https://pub.dev" source: hosted - version: "6.0.0" + version: "9.0.0" flutter_secure_storage_linux: dependency: transitive description: name: flutter_secure_storage_linux - sha256: "736436adaf91552433823f51ce22e098c2f0551db06b6596f58597a25b8ea797" + sha256: "3d5032e314774ee0e1a7d0a9f5e2793486f0dff2dd9ef5a23f4e3fb2a0ae6a9e" url: "https://pub.dev" source: hosted - version: "1.1.2" + version: "1.2.0" flutter_secure_storage_macos: dependency: transitive description: name: flutter_secure_storage_macos - sha256: "388f76fd0f093e7415a39ec4c169ae7cceeee6d9f9ba529d788a13f2be4de7bd" + sha256: bd33935b4b628abd0b86c8ca20655c5b36275c3a3f5194769a7b3f37c905369c url: "https://pub.dev" source: hosted - version: "1.1.2" + version: "3.0.1" flutter_secure_storage_platform_interface: dependency: transitive description: @@ -647,23 +527,15 @@ packages: dependency: transitive description: name: flutter_secure_storage_windows - sha256: ca89c8059cf439985aa83c59619b3674c7ef6cc2e86943d169a7369d6a69cab5 + sha256: "5809c66f9dd3b4b93b0a6e2e8561539405322ee767ac2f64d084e2ab5429d108" url: "https://pub.dev" source: hosted - version: "1.1.3" + version: "3.0.0" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" - flutter_web_browser: - dependency: "direct main" - description: - name: flutter_web_browser - sha256: a5564b736253f745e147b8c4eff86de436324d081974cc1f16bff881134a400f - url: "https://pub.dev" - source: hosted - version: "0.17.1" flutter_web_plugins: dependency: transitive description: flutter @@ -673,18 +545,18 @@ packages: dependency: "direct dev" description: name: freezed - sha256: "4179d41127bc7a67dc3f58ceec1d22f1cdf10470653cb86eda2a63f81b4920c7" + sha256: "6c5031daae12c7072b3a87eff98983076434b4889ef2a44384d0cae3f82372ba" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.4.6" freezed_annotation: dependency: "direct main" description: name: freezed_annotation - sha256: aeac15850ef1b38ee368d4c53ba9a847e900bb2c53a4db3f6881cbb3cb684338 + sha256: c3fd9336eb55a38cc1bbd79ab17573113a8deccd0ecbbf926cca3c62803b5c2d url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.4.1" frontend_server_client: dependency: transitive description: @@ -693,14 +565,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.2.0" - functional_data: - dependency: transitive - description: - name: functional_data - sha256: "950f886463a7531a3b77904e0eb89e8e06dda78c4e3f5a84686445a2290cce18" - url: "https://pub.dev" - source: hosted - version: "1.0.0" get_it: dependency: "direct main" description: @@ -717,22 +581,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.1" - globbing: - dependency: transitive - description: - name: globbing - sha256: "4f89cfaf6fa74c9c1740a96259da06bd45411ede56744e28017cc534a12b6e2d" - url: "https://pub.dev" - source: hosted - version: "1.0.0" google_fonts: dependency: "direct main" description: name: google_fonts - sha256: "8f099045e2f2a30e4d4d0a35f40c6bc941a8f2ca0e10ad9d214ee9edd3f37483" + sha256: f0b8d115a13ecf827013ec9fc883390ccc0e87a96ed5347a3114cac177ef18e8 url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "6.1.0" graphs: dependency: transitive description: @@ -753,10 +609,10 @@ packages: dependency: transitive description: name: http - sha256: "6aa2946395183537c8b880962d935877325d6a09a2867c3970c05c0fed6ac482" + sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525" url: "https://pub.dev" source: hosted - version: "0.13.5" + version: "1.1.0" http_multi_server: dependency: transitive description: @@ -781,30 +637,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.3.0" - ini: - dependency: transitive - description: - name: ini - sha256: "12a76c53591ffdf86d1265be3f986888a6dfeb34a85957774bc65912d989a173" - url: "https://pub.dev" - source: hosted - version: "2.1.0" intl: dependency: "direct main" description: name: intl - sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91" - url: "https://pub.dev" - source: hosted - version: "0.17.0" - intl_utils: - dependency: transitive - description: - name: intl_utils - sha256: "413699c0f7a1123a9306c1f2f5ea8662677d25bdebf22ba4f3960e0069be3be2" + sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" url: "https://pub.dev" source: hosted - version: "2.8.1" + version: "0.18.1" io: dependency: transitive description: @@ -821,14 +661,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.5" - json2yaml: - dependency: transitive - description: - name: json2yaml - sha256: "1bd23a492025254aa14a760db94c8d52142c774ab3f2ab935e31742796bf505d" - url: "https://pub.dev" - source: hosted - version: "3.0.0" json_annotation: dependency: "direct main" description: @@ -889,10 +721,10 @@ packages: dependency: transitive description: name: matcher - sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" url: "https://pub.dev" source: hosted - version: "0.12.13" + version: "0.12.16" material_color_generator: dependency: "direct main" description: @@ -905,18 +737,18 @@ packages: dependency: transitive description: name: material_color_utilities - sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.5.0" meta: dependency: transitive description: name: meta - sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.9.1" mime: dependency: transitive description: @@ -961,10 +793,10 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: f619162573096d428ccde2e33f92e05b5a179cd6f0e3120c1005f181bee8ed16 + sha256: "7e76fad405b3e4016cd39d08f455a4eb5199723cf594cd1b8916d47140d93017" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "4.2.0" package_info_plus_platform_interface: dependency: transitive description: @@ -977,10 +809,10 @@ packages: dependency: transitive description: name: path - sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" url: "https://pub.dev" source: hosted - version: "1.8.2" + version: "1.8.3" path_provider: dependency: transitive description: @@ -1025,10 +857,10 @@ packages: dependency: transitive description: name: path_provider_windows - sha256: bcabbe399d4042b8ee687e17548d5d3f527255253b4a639f5f8d2094a9c2b45c + sha256: "1cb68ba4cd3a795033de62ba1b7b4564dace301f952de6bfb3cd91b202b6ee96" url: "https://pub.dev" source: hosted - version: "2.1.3" + version: "2.1.7" pedantic: dependency: "direct dev" description: @@ -1085,14 +917,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.5.1" - posix: - dependency: transitive - description: - name: posix - sha256: "203e3ad9df376927118dc662e1724dde1f64e2c3292cd59a8082d4a2de84bb70" - url: "https://pub.dev" - source: hosted - version: "4.1.0" process: dependency: transitive description: @@ -1125,30 +949,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.3" - pub_updater: - dependency: transitive - description: - name: pub_updater - sha256: "42890302ab2672adf567dc2b20e55b4ecc29d7e19c63b6b98143ab68dd717d3a" - url: "https://pub.dev" - source: hosted - version: "0.2.4" - pubspec2: - dependency: transitive - description: - name: pubspec2 - sha256: "7b1fd81927f1da6d88457c83b51134e1bc8cb07638bd8d9e205b2ce1cd9ec091" - url: "https://pub.dev" - source: hosted - version: "2.4.2" - pubspec_lock: - dependency: transitive - description: - name: pubspec_lock - sha256: "71a3d2fab24e3497bf732e70f78eabff835769b6a1963f9da0d06772f646af7f" - url: "https://pub.dev" - source: hosted - version: "3.0.1" pubspec_parse: dependency: transitive description: @@ -1157,22 +957,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.1" - quiver: - dependency: transitive - description: - name: quiver - sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 - url: "https://pub.dev" - source: hosted - version: "3.2.1" - random_string: - dependency: transitive - description: - name: random_string - sha256: "03b52435aae8cbdd1056cf91bfc5bf845e9706724dd35ae2e99fa14a1ef79d02" - url: "https://pub.dev" - source: hosted - version: "2.3.1" rxdart: dependency: "direct main" description: @@ -1181,22 +965,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.27.7" - scope: - dependency: transitive - description: - name: scope - sha256: e0c880d8f0db2ffd2accd63eeb02396748f3b8a2f71bce4b7d3f8dab75fc8a74 - url: "https://pub.dev" - source: hosted - version: "3.0.0" - settings_yaml: - dependency: transitive - description: - name: settings_yaml - sha256: "76e7cbce59398e663df0b8e2d08c7719dcb6016137f01b3338a0bb0448f4ec71" - url: "https://pub.dev" - source: hosted - version: "4.0.1" shared_preferences: dependency: "direct main" description: @@ -1326,10 +1094,10 @@ packages: dependency: transitive description: name: source_span - sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 + sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" sprintf: dependency: transitive description: @@ -1386,14 +1154,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.11.0" - stacktrace_impl: - dependency: transitive - description: - name: stacktrace_impl - sha256: a42791862f672151d7f5a12911bf607c5b6d600f15f4f2457ef4ec92bfcf561b - url: "https://pub.dev" - source: hosted - version: "2.3.0" stock: dependency: "direct main" description: @@ -1442,14 +1202,6 @@ packages: url: "https://pub.dev" source: hosted version: "7.0.0" - sum_types: - dependency: transitive - description: - name: sum_types - sha256: af94bdbd220c90e1118a0b24453c52dc0593aa561ec613e7f5d6b576dde11958 - url: "https://pub.dev" - source: hosted - version: "0.3.4" synchronized: dependency: transitive description: @@ -1458,14 +1210,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.1" - system_info2: - dependency: transitive - description: - name: system_info2 - sha256: "90621f3ba586e1f268e38cc7951b172cd4d997e43dc1fbed12eb334c8a22a886" - url: "https://pub.dev" - source: hosted - version: "2.0.4" term_glyph: dependency: transitive description: @@ -1478,26 +1222,26 @@ packages: dependency: transitive description: name: test - sha256: a5fcd2d25eeadbb6589e80198a47d6a464ba3e2049da473943b8af9797900c2d + sha256: "13b41f318e2a5751c3169137103b60c584297353d4b1761b66029bae6411fe46" url: "https://pub.dev" source: hosted - version: "1.22.0" + version: "1.24.3" test_api: dependency: transitive description: name: test_api - sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.4.16" + version: "0.6.0" test_core: dependency: transitive description: name: test_core - sha256: "0ef9755ec6d746951ba0aabe62f874b707690b5ede0fecc818b138fcc9b14888" + sha256: "99806e9e6d95c7b059b7a0fc08f07fc53fabe54a829497f0d9676299f1e8637e" url: "https://pub.dev" source: hosted - version: "0.4.20" + version: "0.5.3" time: dependency: transitive description: @@ -1610,14 +1354,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.7" - validators2: - dependency: transitive - description: - name: validators2 - sha256: c95746d5176ed1c01aff95fcd1ef22b6459f48a8aa26577ddf7a1e21919a81dc - url: "https://pub.dev" - source: hosted - version: "3.0.0" vector_math: dependency: transitive description: @@ -1626,14 +1362,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - vin_decoder: - dependency: transitive - description: - name: vin_decoder - sha256: d6934cd36d24e5f306dbcc3eb00f7104fb7d34e2bc82ab2c67f89cedbc983250 - url: "https://pub.dev" - source: hosted - version: "0.2.1-nullsafety" vm_service: dependency: transitive description: @@ -1646,10 +1374,18 @@ packages: dependency: transitive description: name: watcher - sha256: "6a7f46926b01ce81bfc339da6a7f20afbe7733eff9846f6d6a5466aa4c6667c0" + sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" url: "https://pub.dev" source: hosted - version: "1.0.2" + version: "1.1.0" + web: + dependency: transitive + description: + name: web + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + url: "https://pub.dev" + source: hosted + version: "0.1.4-beta" web_socket_channel: dependency: transitive description: @@ -1710,10 +1446,10 @@ packages: dependency: transitive description: name: win32 - sha256: c9ebe7ee4ab0c2194e65d3a07d8c54c5d00bb001b76081c4a04cdb8448b59e46 + sha256: "7dacfda1edcca378031db9905ad7d7bd56b29fd1a90b0908b71a52a12c41e36b" url: "https://pub.dev" source: hosted - version: "3.1.3" + version: "5.0.3" xdg_directories: dependency: transitive description: @@ -1747,5 +1483,5 @@ packages: source: hosted version: "3.1.1" sdks: - dart: ">=2.18.1 <4.0.0" - flutter: ">=3.7.0" + dart: ">=3.1.0-185.0.dev <4.0.0" + flutter: ">=3.13.8" diff --git a/pubspec.yaml b/pubspec.yaml index 5169d3d..d4ddfce 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,11 +3,11 @@ description: Flutter trips and tricks. publish_to: 'none' -version: 1.0.3+6 +version: 1.0.7+7 environment: - sdk: ">=2.18.0 <3.0.0" - flutter: 3.7.0 + sdk: ">=3.0.0 <4.0.0" + flutter: 3.13.8 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -26,26 +26,25 @@ dependencies: bugsee_flutter: 5.0.2 cupertino_icons: 1.0.5 dartx: 1.1.0 - dio: 4.0.6 # networking + dio: 4.0.6 equatable: 2.0.5 - firebase_core: 2.2.0 - firebase_crashlytics: 3.0.5 + firebase_core: 2.24.2 + firebase_crashlytics: 3.4.8 floor: 1.4.1 flutter_bloc: 8.1.1 flutter_dotenv: 5.0.2 flutter_email_sender: 5.2.0 flutter_native_splash: 2.2.9 - flutter_screenutil: 5.5.4 - flutter_secure_storage: 6.0.0 - flutter_web_browser: 0.17.1 # This can be removed - freezed_annotation: 2.2.0 + flutter_screenutil: 5.9.0 + flutter_secure_storage: 9.0.0 + freezed_annotation: 2.4.1 get_it: 7.2.0 - google_fonts: 3.0.1 - intl: 0.17.0 + google_fonts: 6.1.0 + intl: 0.18.1 json_annotation: 4.7.0 logger: 1.1.0 material_color_generator: 1.1.0 - package_info_plus: 3.0.2 + package_info_plus: 4.2.0 photo_view: 0.14.0 rxdart: 0.27.7 shared_preferences: 2.0.16 @@ -63,16 +62,14 @@ dev_dependencies: flutter_test: sdk: flutter - arb_utils: 0.4.0 auto_route_generator: 5.0.3 - build_runner: 2.3.2 - dart_code_metrics: 5.5.1 + build_runner: 2.4.7 floor_generator: 1.4.1 flutter_flavorizr: 2.1.4 flutter_gen_runner: 5.0.2 flutter_launcher_icons: 0.10.0 flutter_lints: 2.0.1 - freezed: 2.2.0 + freezed: 2.4.6 json_serializable: 6.5.4 pedantic: 1.11.1 diff --git a/scripts/checks.sh b/scripts/checks.sh index 8e0dbb2..b7d84b0 100755 --- a/scripts/checks.sh +++ b/scripts/checks.sh @@ -4,20 +4,8 @@ error () { exit 1 } -echo ':: Sorting translation files ::' - -fvm flutter pub run arb_utils sort lib/l10n/intl_en.arb; - echo ':: Check code format ::' fvm dart format --set-exit-if-changed . || error "Invalid format" echo ':: Run linter ::' fvm flutter analyze . || error "Linter error" - -result=$(fvm flutter pub run dart_code_metrics:metrics analyze lib --fatal-style --fatal-performance --fatal-warnings) -echo "$result" -[[ $result == *'✔ no issues found!'* ]] || error "Linter error" - -fvm flutter pub run dart_code_metrics:metrics check-unused-code lib --fatal-unused || error "Linter error" - -fvm flutter pub run dart_code_metrics:metrics check-unused-files lib --fatal-unused --exclude=lib/gen/assets.gen.dart || error "Linter error" diff --git a/web/fastlane/README.md b/web/fastlane/README.md index 607ff34..f4da5bb 100644 --- a/web/fastlane/README.md +++ b/web/fastlane/README.md @@ -45,14 +45,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do **Lint: Check code format** -### lint_check_language_sorting - -```sh -[bundle exec] fastlane lint_check_language_sorting -``` - -**Lint: Check code format** - ### lint_analyze ```sh @@ -61,14 +53,6 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do **Lint: Analyze code** -### lint_code_metrics - -```sh -[bundle exec] fastlane lint_code_metrics -``` - -**Lint: Code metrics** - ### lints ```sh