diff --git a/android/app/build.gradle b/android/app/build.gradle index a050c41..c2d4e6c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -1,3 +1,9 @@ +plugins { + id "com.android.application" + id "kotlin-android" + id "dev.flutter.flutter-gradle-plugin" +} + def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { @@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) { } } -def flutterRoot = localProperties.getProperty('flutter.sdk') -if (flutterRoot == null) { - throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") -} - def flutterVersionCode = localProperties.getProperty('flutter.versionCode') if (flutterVersionCode == null) { flutterVersionCode = '1' @@ -21,12 +22,8 @@ if (flutterVersionName == null) { flutterVersionName = '1.0' } -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' -apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" - android { - compileSdkVersion 33 + compileSdkVersion 34 ndkVersion flutter.ndkVersion compileOptions { @@ -62,7 +59,3 @@ android { flutter { source '../..' } - -dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" -} diff --git a/android/build.gradle b/android/build.gradle index 3cdaac9..bc157bd 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,16 +1,3 @@ -buildscript { - ext.kotlin_version = '1.6.10' - repositories { - google() - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:7.1.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - allprojects { repositories { google() diff --git a/android/settings.gradle b/android/settings.gradle index 44e62bc..536165d 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -1,11 +1,25 @@ -include ':app' +pluginManagement { + def flutterSdkPath = { + def properties = new Properties() + file("local.properties").withInputStream { properties.load(it) } + def flutterSdkPath = properties.getProperty("flutter.sdk") + assert flutterSdkPath != null, "flutter.sdk not set in local.properties" + return flutterSdkPath + }() -def localPropertiesFile = new File(rootProject.projectDir, "local.properties") -def properties = new Properties() + includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") -assert localPropertiesFile.exists() -localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } + repositories { + google() + mavenCentral() + gradlePluginPortal() + } +} -def flutterSdkPath = properties.getProperty("flutter.sdk") -assert flutterSdkPath != null, "flutter.sdk not set in local.properties" -apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" +plugins { + id "dev.flutter.flutter-plugin-loader" version "1.0.0" + id "com.android.application" version "7.3.0" apply false + id "org.jetbrains.kotlin.android" version "1.7.10" apply false +} + +include ":app" diff --git a/flake.lock b/flake.lock index b6b5e50..b78279b 100644 --- a/flake.lock +++ b/flake.lock @@ -146,11 +146,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1689631193, - "narHash": "sha256-AGSkBZaiTODQc8eT1rZDrQIjtb8JtFwJ0wVPzArlrnM=", + "lastModified": 1727586919, + "narHash": "sha256-e/YXG0tO5GWHDS8QQauj8aj4HhXEm602q9swrrlTlKQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "57695599bdc4f7bfe5d28cfa23f14b3d8bdf8a5f", + "rev": "2dcd9c55e8914017226f5948ac22c53872a13ee2", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index d61ed58..67506e2 100644 --- a/flake.nix +++ b/flake.nix @@ -28,14 +28,15 @@ platform-tools emulator patcher-v4 - platforms-android-30 + #platforms-android-30 platforms-android-31 platforms-android-33 + platforms-android-34 ]); in { devShell = pkgs.mkShell { buildInputs = with pkgs; [ - # Android + # Android sdk # Flutter diff --git a/lib/src/data/anime.freezed.dart b/lib/src/data/anime.freezed.dart index 56b67e2..f770a0d 100644 --- a/lib/src/data/anime.freezed.dart +++ b/lib/src/data/anime.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 'anime.dart'; @@ -12,7 +12,7 @@ part of 'anime.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); AnimeTrackingData _$AnimeTrackingDataFromJson(Map json) { return _AnimeTrackingData.fromJson(json); @@ -46,8 +46,12 @@ mixin _$AnimeTrackingData { /// The day of the week the anime is airing String? get broadcastDay => throw _privateConstructorUsedError; + /// Serializes this AnimeTrackingData to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of AnimeTrackingData + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $AnimeTrackingDataCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -56,7 +60,8 @@ mixin _$AnimeTrackingData { abstract class $AnimeTrackingDataCopyWith<$Res> { factory $AnimeTrackingDataCopyWith( AnimeTrackingData value, $Res Function(AnimeTrackingData) then) = - _$AnimeTrackingDataCopyWithImpl<$Res>; + _$AnimeTrackingDataCopyWithImpl<$Res, AnimeTrackingData>; + @useResult $Res call( {String id, @MediumTrackingStateConverter() MediumTrackingState state, @@ -69,69 +74,74 @@ abstract class $AnimeTrackingDataCopyWith<$Res> { } /// @nodoc -class _$AnimeTrackingDataCopyWithImpl<$Res> +class _$AnimeTrackingDataCopyWithImpl<$Res, $Val extends AnimeTrackingData> implements $AnimeTrackingDataCopyWith<$Res> { _$AnimeTrackingDataCopyWithImpl(this._value, this._then); - final AnimeTrackingData _value; // ignore: unused_field - final $Res Function(AnimeTrackingData) _then; + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + /// Create a copy of AnimeTrackingData + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? id = freezed, - Object? state = freezed, - Object? title = freezed, - Object? episodesWatched = freezed, + Object? id = null, + Object? state = null, + Object? title = null, + Object? episodesWatched = null, Object? episodesTotal = freezed, - Object? thumbnailUrl = freezed, - Object? airing = freezed, + Object? thumbnailUrl = null, + Object? airing = null, Object? broadcastDay = freezed, }) { return _then(_value.copyWith( - id: id == freezed + id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, - state: state == freezed + state: null == state ? _value.state : state // ignore: cast_nullable_to_non_nullable as MediumTrackingState, - title: title == freezed + title: null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, - episodesWatched: episodesWatched == freezed + episodesWatched: null == episodesWatched ? _value.episodesWatched : episodesWatched // ignore: cast_nullable_to_non_nullable as int, - episodesTotal: episodesTotal == freezed + episodesTotal: freezed == episodesTotal ? _value.episodesTotal : episodesTotal // ignore: cast_nullable_to_non_nullable as int?, - thumbnailUrl: thumbnailUrl == freezed + thumbnailUrl: null == thumbnailUrl ? _value.thumbnailUrl : thumbnailUrl // ignore: cast_nullable_to_non_nullable as String, - airing: airing == freezed + airing: null == airing ? _value.airing : airing // ignore: cast_nullable_to_non_nullable as bool, - broadcastDay: broadcastDay == freezed + broadcastDay: freezed == broadcastDay ? _value.broadcastDay : broadcastDay // ignore: cast_nullable_to_non_nullable as String?, - )); + ) as $Val); } } /// @nodoc -abstract class _$$_AnimeTrackingDataCopyWith<$Res> +abstract class _$$AnimeTrackingDataImplCopyWith<$Res> implements $AnimeTrackingDataCopyWith<$Res> { - factory _$$_AnimeTrackingDataCopyWith(_$_AnimeTrackingData value, - $Res Function(_$_AnimeTrackingData) then) = - __$$_AnimeTrackingDataCopyWithImpl<$Res>; + factory _$$AnimeTrackingDataImplCopyWith(_$AnimeTrackingDataImpl value, + $Res Function(_$AnimeTrackingDataImpl) then) = + __$$AnimeTrackingDataImplCopyWithImpl<$Res>; @override + @useResult $Res call( {String id, @MediumTrackingStateConverter() MediumTrackingState state, @@ -144,57 +154,57 @@ abstract class _$$_AnimeTrackingDataCopyWith<$Res> } /// @nodoc -class __$$_AnimeTrackingDataCopyWithImpl<$Res> - extends _$AnimeTrackingDataCopyWithImpl<$Res> - implements _$$_AnimeTrackingDataCopyWith<$Res> { - __$$_AnimeTrackingDataCopyWithImpl( - _$_AnimeTrackingData _value, $Res Function(_$_AnimeTrackingData) _then) - : super(_value, (v) => _then(v as _$_AnimeTrackingData)); - - @override - _$_AnimeTrackingData get _value => super._value as _$_AnimeTrackingData; +class __$$AnimeTrackingDataImplCopyWithImpl<$Res> + extends _$AnimeTrackingDataCopyWithImpl<$Res, _$AnimeTrackingDataImpl> + implements _$$AnimeTrackingDataImplCopyWith<$Res> { + __$$AnimeTrackingDataImplCopyWithImpl(_$AnimeTrackingDataImpl _value, + $Res Function(_$AnimeTrackingDataImpl) _then) + : super(_value, _then); + /// Create a copy of AnimeTrackingData + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? id = freezed, - Object? state = freezed, - Object? title = freezed, - Object? episodesWatched = freezed, + Object? id = null, + Object? state = null, + Object? title = null, + Object? episodesWatched = null, Object? episodesTotal = freezed, - Object? thumbnailUrl = freezed, - Object? airing = freezed, + Object? thumbnailUrl = null, + Object? airing = null, Object? broadcastDay = freezed, }) { - return _then(_$_AnimeTrackingData( - id == freezed + return _then(_$AnimeTrackingDataImpl( + null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, - state == freezed + null == state ? _value.state : state // ignore: cast_nullable_to_non_nullable as MediumTrackingState, - title == freezed + null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, - episodesWatched == freezed + null == episodesWatched ? _value.episodesWatched : episodesWatched // ignore: cast_nullable_to_non_nullable as int, - episodesTotal == freezed + freezed == episodesTotal ? _value.episodesTotal : episodesTotal // ignore: cast_nullable_to_non_nullable as int?, - thumbnailUrl == freezed + null == thumbnailUrl ? _value.thumbnailUrl : thumbnailUrl // ignore: cast_nullable_to_non_nullable as String, - airing == freezed + null == airing ? _value.airing : airing // ignore: cast_nullable_to_non_nullable as bool, - broadcastDay == freezed + freezed == broadcastDay ? _value.broadcastDay : broadcastDay // ignore: cast_nullable_to_non_nullable as String?, @@ -204,8 +214,8 @@ class __$$_AnimeTrackingDataCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_AnimeTrackingData implements _AnimeTrackingData { - _$_AnimeTrackingData( +class _$AnimeTrackingDataImpl implements _AnimeTrackingData { + _$AnimeTrackingDataImpl( this.id, @MediumTrackingStateConverter() this.state, this.title, @@ -215,8 +225,8 @@ class _$_AnimeTrackingData implements _AnimeTrackingData { @BoolConverter() this.airing, this.broadcastDay); - factory _$_AnimeTrackingData.fromJson(Map json) => - _$$_AnimeTrackingDataFromJson(json); + factory _$AnimeTrackingDataImpl.fromJson(Map json) => + _$$AnimeTrackingDataImplFromJson(json); /// The ID of the anime @override @@ -258,46 +268,41 @@ class _$_AnimeTrackingData implements _AnimeTrackingData { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_AnimeTrackingData && - const DeepCollectionEquality().equals(other.id, id) && - const DeepCollectionEquality().equals(other.state, state) && - const DeepCollectionEquality().equals(other.title, title) && - const DeepCollectionEquality() - .equals(other.episodesWatched, episodesWatched) && - const DeepCollectionEquality() - .equals(other.episodesTotal, episodesTotal) && - const DeepCollectionEquality() - .equals(other.thumbnailUrl, thumbnailUrl) && - const DeepCollectionEquality().equals(other.airing, airing) && - const DeepCollectionEquality() - .equals(other.broadcastDay, broadcastDay)); + other is _$AnimeTrackingDataImpl && + (identical(other.id, id) || other.id == id) && + (identical(other.state, state) || other.state == state) && + (identical(other.title, title) || other.title == title) && + (identical(other.episodesWatched, episodesWatched) || + other.episodesWatched == episodesWatched) && + (identical(other.episodesTotal, episodesTotal) || + other.episodesTotal == episodesTotal) && + (identical(other.thumbnailUrl, thumbnailUrl) || + other.thumbnailUrl == thumbnailUrl) && + (identical(other.airing, airing) || other.airing == airing) && + (identical(other.broadcastDay, broadcastDay) || + other.broadcastDay == broadcastDay)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override - int get hashCode => Object.hash( - runtimeType, - const DeepCollectionEquality().hash(id), - const DeepCollectionEquality().hash(state), - const DeepCollectionEquality().hash(title), - const DeepCollectionEquality().hash(episodesWatched), - const DeepCollectionEquality().hash(episodesTotal), - const DeepCollectionEquality().hash(thumbnailUrl), - const DeepCollectionEquality().hash(airing), - const DeepCollectionEquality().hash(broadcastDay)); + int get hashCode => Object.hash(runtimeType, id, state, title, + episodesWatched, episodesTotal, thumbnailUrl, airing, broadcastDay); - @JsonKey(ignore: true) + /// Create a copy of AnimeTrackingData + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override - _$$_AnimeTrackingDataCopyWith<_$_AnimeTrackingData> get copyWith => - __$$_AnimeTrackingDataCopyWithImpl<_$_AnimeTrackingData>( + @pragma('vm:prefer-inline') + _$$AnimeTrackingDataImplCopyWith<_$AnimeTrackingDataImpl> get copyWith => + __$$AnimeTrackingDataImplCopyWithImpl<_$AnimeTrackingDataImpl>( this, _$identity); @override Map toJson() { - return _$$_AnimeTrackingDataToJson( + return _$$AnimeTrackingDataImplToJson( this, ); } @@ -312,47 +317,49 @@ abstract class _AnimeTrackingData implements AnimeTrackingData { final int? episodesTotal, final String thumbnailUrl, @BoolConverter() final bool airing, - final String? broadcastDay) = _$_AnimeTrackingData; + final String? broadcastDay) = _$AnimeTrackingDataImpl; factory _AnimeTrackingData.fromJson(Map json) = - _$_AnimeTrackingData.fromJson; - - @override + _$AnimeTrackingDataImpl.fromJson; /// The ID of the anime - String get id; @override + String get id; /// The state of the anime + @override @MediumTrackingStateConverter() MediumTrackingState get state; - @override /// The title of the anime - String get title; @override + String get title; /// Episodes in total. - int get episodesWatched; @override + int get episodesWatched; /// Episodes watched. - int? get episodesTotal; @override + int? get episodesTotal; /// URL to the thumbnail/cover art for the anime. - String get thumbnailUrl; @override + String get thumbnailUrl; /// Flag whether the anime is airing + @override @BoolConverter() bool get airing; - @override /// The day of the week the anime is airing - String? get broadcastDay; @override - @JsonKey(ignore: true) - _$$_AnimeTrackingDataCopyWith<_$_AnimeTrackingData> get copyWith => + String? get broadcastDay; + + /// Create a copy of AnimeTrackingData + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$AnimeTrackingDataImplCopyWith<_$AnimeTrackingDataImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/data/anime.g.dart b/lib/src/data/anime.g.dart index 72545f8..6c3b813 100644 --- a/lib/src/data/anime.g.dart +++ b/lib/src/data/anime.g.dart @@ -6,20 +6,22 @@ part of 'anime.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_AnimeTrackingData _$$_AnimeTrackingDataFromJson(Map json) => - _$_AnimeTrackingData( +_$AnimeTrackingDataImpl _$$AnimeTrackingDataImplFromJson( + Map json) => + _$AnimeTrackingDataImpl( json['id'] as String, - const MediumTrackingStateConverter().fromJson(json['state'] as int), + const MediumTrackingStateConverter() + .fromJson((json['state'] as num).toInt()), json['title'] as String, - json['episodesWatched'] as int, - json['episodesTotal'] as int?, + (json['episodesWatched'] as num).toInt(), + (json['episodesTotal'] as num?)?.toInt(), json['thumbnailUrl'] as String, - const BoolConverter().fromJson(json['airing'] as int), + const BoolConverter().fromJson((json['airing'] as num).toInt()), json['broadcastDay'] as String?, ); -Map _$$_AnimeTrackingDataToJson( - _$_AnimeTrackingData instance) => +Map _$$AnimeTrackingDataImplToJson( + _$AnimeTrackingDataImpl instance) => { 'id': instance.id, 'state': const MediumTrackingStateConverter().toJson(instance.state), diff --git a/lib/src/data/manga.freezed.dart b/lib/src/data/manga.freezed.dart index 7d38794..151905c 100644 --- a/lib/src/data/manga.freezed.dart +++ b/lib/src/data/manga.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 'manga.dart'; @@ -12,7 +12,7 @@ part of 'manga.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); MangaTrackingData _$MangaTrackingDataFromJson(Map json) { return _MangaTrackingData.fromJson(json); @@ -42,8 +42,12 @@ mixin _$MangaTrackingData { /// URL to the thumbnail/cover art for the manga. String get thumbnailUrl => throw _privateConstructorUsedError; + /// Serializes this MangaTrackingData to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MangaTrackingData + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MangaTrackingDataCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -52,7 +56,8 @@ mixin _$MangaTrackingData { abstract class $MangaTrackingDataCopyWith<$Res> { factory $MangaTrackingDataCopyWith( MangaTrackingData value, $Res Function(MangaTrackingData) then) = - _$MangaTrackingDataCopyWithImpl<$Res>; + _$MangaTrackingDataCopyWithImpl<$Res, MangaTrackingData>; + @useResult $Res call( {String id, @MediumTrackingStateConverter() MediumTrackingState state, @@ -64,64 +69,69 @@ abstract class $MangaTrackingDataCopyWith<$Res> { } /// @nodoc -class _$MangaTrackingDataCopyWithImpl<$Res> +class _$MangaTrackingDataCopyWithImpl<$Res, $Val extends MangaTrackingData> implements $MangaTrackingDataCopyWith<$Res> { _$MangaTrackingDataCopyWithImpl(this._value, this._then); - final MangaTrackingData _value; // ignore: unused_field - final $Res Function(MangaTrackingData) _then; + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + /// Create a copy of MangaTrackingData + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? id = freezed, - Object? state = freezed, - Object? title = freezed, - Object? chaptersRead = freezed, - Object? volumesOwned = freezed, + Object? id = null, + Object? state = null, + Object? title = null, + Object? chaptersRead = null, + Object? volumesOwned = null, Object? chaptersTotal = freezed, - Object? thumbnailUrl = freezed, + Object? thumbnailUrl = null, }) { return _then(_value.copyWith( - id: id == freezed + id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, - state: state == freezed + state: null == state ? _value.state : state // ignore: cast_nullable_to_non_nullable as MediumTrackingState, - title: title == freezed + title: null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, - chaptersRead: chaptersRead == freezed + chaptersRead: null == chaptersRead ? _value.chaptersRead : chaptersRead // ignore: cast_nullable_to_non_nullable as int, - volumesOwned: volumesOwned == freezed + volumesOwned: null == volumesOwned ? _value.volumesOwned : volumesOwned // ignore: cast_nullable_to_non_nullable as int, - chaptersTotal: chaptersTotal == freezed + chaptersTotal: freezed == chaptersTotal ? _value.chaptersTotal : chaptersTotal // ignore: cast_nullable_to_non_nullable as int?, - thumbnailUrl: thumbnailUrl == freezed + thumbnailUrl: null == thumbnailUrl ? _value.thumbnailUrl : thumbnailUrl // ignore: cast_nullable_to_non_nullable as String, - )); + ) as $Val); } } /// @nodoc -abstract class _$$_MangaTrackingDataCopyWith<$Res> +abstract class _$$MangaTrackingDataImplCopyWith<$Res> implements $MangaTrackingDataCopyWith<$Res> { - factory _$$_MangaTrackingDataCopyWith(_$_MangaTrackingData value, - $Res Function(_$_MangaTrackingData) then) = - __$$_MangaTrackingDataCopyWithImpl<$Res>; + factory _$$MangaTrackingDataImplCopyWith(_$MangaTrackingDataImpl value, + $Res Function(_$MangaTrackingDataImpl) then) = + __$$MangaTrackingDataImplCopyWithImpl<$Res>; @override + @useResult $Res call( {String id, @MediumTrackingStateConverter() MediumTrackingState state, @@ -133,52 +143,52 @@ abstract class _$$_MangaTrackingDataCopyWith<$Res> } /// @nodoc -class __$$_MangaTrackingDataCopyWithImpl<$Res> - extends _$MangaTrackingDataCopyWithImpl<$Res> - implements _$$_MangaTrackingDataCopyWith<$Res> { - __$$_MangaTrackingDataCopyWithImpl( - _$_MangaTrackingData _value, $Res Function(_$_MangaTrackingData) _then) - : super(_value, (v) => _then(v as _$_MangaTrackingData)); - - @override - _$_MangaTrackingData get _value => super._value as _$_MangaTrackingData; +class __$$MangaTrackingDataImplCopyWithImpl<$Res> + extends _$MangaTrackingDataCopyWithImpl<$Res, _$MangaTrackingDataImpl> + implements _$$MangaTrackingDataImplCopyWith<$Res> { + __$$MangaTrackingDataImplCopyWithImpl(_$MangaTrackingDataImpl _value, + $Res Function(_$MangaTrackingDataImpl) _then) + : super(_value, _then); + /// Create a copy of MangaTrackingData + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? id = freezed, - Object? state = freezed, - Object? title = freezed, - Object? chaptersRead = freezed, - Object? volumesOwned = freezed, + Object? id = null, + Object? state = null, + Object? title = null, + Object? chaptersRead = null, + Object? volumesOwned = null, Object? chaptersTotal = freezed, - Object? thumbnailUrl = freezed, + Object? thumbnailUrl = null, }) { - return _then(_$_MangaTrackingData( - id == freezed + return _then(_$MangaTrackingDataImpl( + null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, - state == freezed + null == state ? _value.state : state // ignore: cast_nullable_to_non_nullable as MediumTrackingState, - title == freezed + null == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, - chaptersRead == freezed + null == chaptersRead ? _value.chaptersRead : chaptersRead // ignore: cast_nullable_to_non_nullable as int, - volumesOwned == freezed + null == volumesOwned ? _value.volumesOwned : volumesOwned // ignore: cast_nullable_to_non_nullable as int, - chaptersTotal == freezed + freezed == chaptersTotal ? _value.chaptersTotal : chaptersTotal // ignore: cast_nullable_to_non_nullable as int?, - thumbnailUrl == freezed + null == thumbnailUrl ? _value.thumbnailUrl : thumbnailUrl // ignore: cast_nullable_to_non_nullable as String, @@ -188,8 +198,8 @@ class __$$_MangaTrackingDataCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_MangaTrackingData implements _MangaTrackingData { - _$_MangaTrackingData( +class _$MangaTrackingDataImpl implements _MangaTrackingData { + _$MangaTrackingDataImpl( this.id, @MediumTrackingStateConverter() this.state, this.title, @@ -198,8 +208,8 @@ class _$_MangaTrackingData implements _MangaTrackingData { this.chaptersTotal, this.thumbnailUrl); - factory _$_MangaTrackingData.fromJson(Map json) => - _$$_MangaTrackingDataFromJson(json); + factory _$MangaTrackingDataImpl.fromJson(Map json) => + _$$MangaTrackingDataImplFromJson(json); /// The ID of the manga @override @@ -236,44 +246,40 @@ class _$_MangaTrackingData implements _MangaTrackingData { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_MangaTrackingData && - const DeepCollectionEquality().equals(other.id, id) && - const DeepCollectionEquality().equals(other.state, state) && - const DeepCollectionEquality().equals(other.title, title) && - const DeepCollectionEquality() - .equals(other.chaptersRead, chaptersRead) && - const DeepCollectionEquality() - .equals(other.volumesOwned, volumesOwned) && - const DeepCollectionEquality() - .equals(other.chaptersTotal, chaptersTotal) && - const DeepCollectionEquality() - .equals(other.thumbnailUrl, thumbnailUrl)); + other is _$MangaTrackingDataImpl && + (identical(other.id, id) || other.id == id) && + (identical(other.state, state) || other.state == state) && + (identical(other.title, title) || other.title == title) && + (identical(other.chaptersRead, chaptersRead) || + other.chaptersRead == chaptersRead) && + (identical(other.volumesOwned, volumesOwned) || + other.volumesOwned == volumesOwned) && + (identical(other.chaptersTotal, chaptersTotal) || + other.chaptersTotal == chaptersTotal) && + (identical(other.thumbnailUrl, thumbnailUrl) || + other.thumbnailUrl == thumbnailUrl)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override - int get hashCode => Object.hash( - runtimeType, - const DeepCollectionEquality().hash(id), - const DeepCollectionEquality().hash(state), - const DeepCollectionEquality().hash(title), - const DeepCollectionEquality().hash(chaptersRead), - const DeepCollectionEquality().hash(volumesOwned), - const DeepCollectionEquality().hash(chaptersTotal), - const DeepCollectionEquality().hash(thumbnailUrl)); + int get hashCode => Object.hash(runtimeType, id, state, title, chaptersRead, + volumesOwned, chaptersTotal, thumbnailUrl); - @JsonKey(ignore: true) + /// Create a copy of MangaTrackingData + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override - _$$_MangaTrackingDataCopyWith<_$_MangaTrackingData> get copyWith => - __$$_MangaTrackingDataCopyWithImpl<_$_MangaTrackingData>( + @pragma('vm:prefer-inline') + _$$MangaTrackingDataImplCopyWith<_$MangaTrackingDataImpl> get copyWith => + __$$MangaTrackingDataImplCopyWithImpl<_$MangaTrackingDataImpl>( this, _$identity); @override Map toJson() { - return _$$_MangaTrackingDataToJson( + return _$$MangaTrackingDataImplToJson( this, ); } @@ -287,42 +293,44 @@ abstract class _MangaTrackingData implements MangaTrackingData { final int chaptersRead, final int volumesOwned, final int? chaptersTotal, - final String thumbnailUrl) = _$_MangaTrackingData; + final String thumbnailUrl) = _$MangaTrackingDataImpl; factory _MangaTrackingData.fromJson(Map json) = - _$_MangaTrackingData.fromJson; - - @override + _$MangaTrackingDataImpl.fromJson; /// The ID of the manga - String get id; @override + String get id; /// The state of the manga + @override @MediumTrackingStateConverter() MediumTrackingState get state; - @override /// The title of the manga + @override String get title; - @override /// Chapters read. + @override int get chaptersRead; - @override /// Chapters read. - int get volumesOwned; @override + int get volumesOwned; /// Episodes watched. - int? get chaptersTotal; @override + int? get chaptersTotal; /// URL to the thumbnail/cover art for the manga. - String get thumbnailUrl; @override - @JsonKey(ignore: true) - _$$_MangaTrackingDataCopyWith<_$_MangaTrackingData> get copyWith => + String get thumbnailUrl; + + /// Create a copy of MangaTrackingData + /// with the given fields replaced by the non-null parameter values. + @override + @JsonKey(includeFromJson: false, includeToJson: false) + _$$MangaTrackingDataImplCopyWith<_$MangaTrackingDataImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/data/manga.g.dart b/lib/src/data/manga.g.dart index b40c3be..d829ae3 100644 --- a/lib/src/data/manga.g.dart +++ b/lib/src/data/manga.g.dart @@ -6,19 +6,21 @@ part of 'manga.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_MangaTrackingData _$$_MangaTrackingDataFromJson(Map json) => - _$_MangaTrackingData( +_$MangaTrackingDataImpl _$$MangaTrackingDataImplFromJson( + Map json) => + _$MangaTrackingDataImpl( json['id'] as String, - const MediumTrackingStateConverter().fromJson(json['state'] as int), + const MediumTrackingStateConverter() + .fromJson((json['state'] as num).toInt()), json['title'] as String, - json['chaptersRead'] as int, - json['volumesOwned'] as int, - json['chaptersTotal'] as int?, + (json['chaptersRead'] as num).toInt(), + (json['volumesOwned'] as num).toInt(), + (json['chaptersTotal'] as num?)?.toInt(), json['thumbnailUrl'] as String, ); -Map _$$_MangaTrackingDataToJson( - _$_MangaTrackingData instance) => +Map _$$MangaTrackingDataImplToJson( + _$MangaTrackingDataImpl instance) => { 'id': instance.id, 'state': const MediumTrackingStateConverter().toJson(instance.state), diff --git a/lib/src/data/type.dart b/lib/src/data/type.dart index 5245ec0..44cfe3e 100644 --- a/lib/src/data/type.dart +++ b/lib/src/data/type.dart @@ -83,7 +83,7 @@ enum MediumTrackingState { } /// Interface for the Anime and Manga data classes -abstract class TrackingMedium { +mixin TrackingMedium { /// The ID of the medium final String id = ''; diff --git a/lib/src/ui/bloc/anime_list_bloc.freezed.dart b/lib/src/ui/bloc/anime_list_bloc.freezed.dart index 14c7259..bb77e8e 100644 --- a/lib/src/ui/bloc/anime_list_bloc.freezed.dart +++ b/lib/src/ui/bloc/anime_list_bloc.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 'anime_list_bloc.dart'; @@ -12,7 +12,7 @@ part of 'anime_list_bloc.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$AnimeListState { @@ -25,7 +25,9 @@ mixin _$AnimeListState { throw _privateConstructorUsedError; TrackingMediumType get trackingType => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of AnimeListState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $AnimeListStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -34,7 +36,8 @@ mixin _$AnimeListState { abstract class $AnimeListStateCopyWith<$Res> { factory $AnimeListStateCopyWith( AnimeListState value, $Res Function(AnimeListState) then) = - _$AnimeListStateCopyWithImpl<$Res>; + _$AnimeListStateCopyWithImpl<$Res, AnimeListState>; + @useResult $Res call( {bool buttonVisibility, List animes, @@ -45,59 +48,64 @@ abstract class $AnimeListStateCopyWith<$Res> { } /// @nodoc -class _$AnimeListStateCopyWithImpl<$Res> +class _$AnimeListStateCopyWithImpl<$Res, $Val extends AnimeListState> implements $AnimeListStateCopyWith<$Res> { _$AnimeListStateCopyWithImpl(this._value, this._then); - final AnimeListState _value; // ignore: unused_field - final $Res Function(AnimeListState) _then; + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + /// Create a copy of AnimeListState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? buttonVisibility = freezed, - Object? animes = freezed, - Object? mangas = freezed, - Object? animeFilterState = freezed, - Object? mangaFilterState = freezed, - Object? trackingType = freezed, + Object? buttonVisibility = null, + Object? animes = null, + Object? mangas = null, + Object? animeFilterState = null, + Object? mangaFilterState = null, + Object? trackingType = null, }) { return _then(_value.copyWith( - buttonVisibility: buttonVisibility == freezed + buttonVisibility: null == buttonVisibility ? _value.buttonVisibility : buttonVisibility // ignore: cast_nullable_to_non_nullable as bool, - animes: animes == freezed + animes: null == animes ? _value.animes : animes // ignore: cast_nullable_to_non_nullable as List, - mangas: mangas == freezed + mangas: null == mangas ? _value.mangas : mangas // ignore: cast_nullable_to_non_nullable as List, - animeFilterState: animeFilterState == freezed + animeFilterState: null == animeFilterState ? _value.animeFilterState : animeFilterState // ignore: cast_nullable_to_non_nullable as MediumTrackingState, - mangaFilterState: mangaFilterState == freezed + mangaFilterState: null == mangaFilterState ? _value.mangaFilterState : mangaFilterState // ignore: cast_nullable_to_non_nullable as MediumTrackingState, - trackingType: trackingType == freezed + trackingType: null == trackingType ? _value.trackingType : trackingType // ignore: cast_nullable_to_non_nullable as TrackingMediumType, - )); + ) as $Val); } } /// @nodoc -abstract class _$$_AnimeListStateCopyWith<$Res> +abstract class _$$AnimeListStateImplCopyWith<$Res> implements $AnimeListStateCopyWith<$Res> { - factory _$$_AnimeListStateCopyWith( - _$_AnimeListState value, $Res Function(_$_AnimeListState) then) = - __$$_AnimeListStateCopyWithImpl<$Res>; + factory _$$AnimeListStateImplCopyWith(_$AnimeListStateImpl value, + $Res Function(_$AnimeListStateImpl) then) = + __$$AnimeListStateImplCopyWithImpl<$Res>; @override + @useResult $Res call( {bool buttonVisibility, List animes, @@ -108,47 +116,47 @@ abstract class _$$_AnimeListStateCopyWith<$Res> } /// @nodoc -class __$$_AnimeListStateCopyWithImpl<$Res> - extends _$AnimeListStateCopyWithImpl<$Res> - implements _$$_AnimeListStateCopyWith<$Res> { - __$$_AnimeListStateCopyWithImpl( - _$_AnimeListState _value, $Res Function(_$_AnimeListState) _then) - : super(_value, (v) => _then(v as _$_AnimeListState)); - - @override - _$_AnimeListState get _value => super._value as _$_AnimeListState; +class __$$AnimeListStateImplCopyWithImpl<$Res> + extends _$AnimeListStateCopyWithImpl<$Res, _$AnimeListStateImpl> + implements _$$AnimeListStateImplCopyWith<$Res> { + __$$AnimeListStateImplCopyWithImpl( + _$AnimeListStateImpl _value, $Res Function(_$AnimeListStateImpl) _then) + : super(_value, _then); + /// Create a copy of AnimeListState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? buttonVisibility = freezed, - Object? animes = freezed, - Object? mangas = freezed, - Object? animeFilterState = freezed, - Object? mangaFilterState = freezed, - Object? trackingType = freezed, + Object? buttonVisibility = null, + Object? animes = null, + Object? mangas = null, + Object? animeFilterState = null, + Object? mangaFilterState = null, + Object? trackingType = null, }) { - return _then(_$_AnimeListState( - buttonVisibility: buttonVisibility == freezed + return _then(_$AnimeListStateImpl( + buttonVisibility: null == buttonVisibility ? _value.buttonVisibility : buttonVisibility // ignore: cast_nullable_to_non_nullable as bool, - animes: animes == freezed + animes: null == animes ? _value._animes : animes // ignore: cast_nullable_to_non_nullable as List, - mangas: mangas == freezed + mangas: null == mangas ? _value._mangas : mangas // ignore: cast_nullable_to_non_nullable as List, - animeFilterState: animeFilterState == freezed + animeFilterState: null == animeFilterState ? _value.animeFilterState : animeFilterState // ignore: cast_nullable_to_non_nullable as MediumTrackingState, - mangaFilterState: mangaFilterState == freezed + mangaFilterState: null == mangaFilterState ? _value.mangaFilterState : mangaFilterState // ignore: cast_nullable_to_non_nullable as MediumTrackingState, - trackingType: trackingType == freezed + trackingType: null == trackingType ? _value.trackingType : trackingType // ignore: cast_nullable_to_non_nullable as TrackingMediumType, @@ -158,8 +166,8 @@ class __$$_AnimeListStateCopyWithImpl<$Res> /// @nodoc -class _$_AnimeListState implements _AnimeListState { - _$_AnimeListState( +class _$AnimeListStateImpl implements _AnimeListState { + _$AnimeListStateImpl( {this.buttonVisibility = true, final List animes = const [], final List mangas = const [], @@ -176,6 +184,7 @@ class _$_AnimeListState implements _AnimeListState { @override @JsonKey() List get animes { + if (_animes is EqualUnmodifiableListView) return _animes; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_animes); } @@ -184,6 +193,7 @@ class _$_AnimeListState implements _AnimeListState { @override @JsonKey() List get mangas { + if (_mangas is EqualUnmodifiableListView) return _mangas; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_mangas); } @@ -204,36 +214,40 @@ class _$_AnimeListState implements _AnimeListState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_AnimeListState && - const DeepCollectionEquality() - .equals(other.buttonVisibility, buttonVisibility) && + other is _$AnimeListStateImpl && + (identical(other.buttonVisibility, buttonVisibility) || + other.buttonVisibility == buttonVisibility) && const DeepCollectionEquality().equals(other._animes, _animes) && const DeepCollectionEquality().equals(other._mangas, _mangas) && - const DeepCollectionEquality() - .equals(other.animeFilterState, animeFilterState) && - const DeepCollectionEquality() - .equals(other.mangaFilterState, mangaFilterState) && - const DeepCollectionEquality() - .equals(other.trackingType, trackingType)); + (identical(other.animeFilterState, animeFilterState) || + other.animeFilterState == animeFilterState) && + (identical(other.mangaFilterState, mangaFilterState) || + other.mangaFilterState == mangaFilterState) && + (identical(other.trackingType, trackingType) || + other.trackingType == trackingType)); } @override int get hashCode => Object.hash( runtimeType, - const DeepCollectionEquality().hash(buttonVisibility), + buttonVisibility, const DeepCollectionEquality().hash(_animes), const DeepCollectionEquality().hash(_mangas), - const DeepCollectionEquality().hash(animeFilterState), - const DeepCollectionEquality().hash(mangaFilterState), - const DeepCollectionEquality().hash(trackingType)); + animeFilterState, + mangaFilterState, + trackingType); - @JsonKey(ignore: true) + /// Create a copy of AnimeListState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override - _$$_AnimeListStateCopyWith<_$_AnimeListState> get copyWith => - __$$_AnimeListStateCopyWithImpl<_$_AnimeListState>(this, _$identity); + @pragma('vm:prefer-inline') + _$$AnimeListStateImplCopyWith<_$AnimeListStateImpl> get copyWith => + __$$AnimeListStateImplCopyWithImpl<_$AnimeListStateImpl>( + this, _$identity); } abstract class _AnimeListState implements AnimeListState { @@ -243,7 +257,7 @@ abstract class _AnimeListState implements AnimeListState { final List mangas, final MediumTrackingState animeFilterState, final MediumTrackingState mangaFilterState, - final TrackingMediumType trackingType}) = _$_AnimeListState; + final TrackingMediumType trackingType}) = _$AnimeListStateImpl; @override bool get buttonVisibility; @@ -257,8 +271,11 @@ abstract class _AnimeListState implements AnimeListState { MediumTrackingState get mangaFilterState; @override TrackingMediumType get trackingType; + + /// Create a copy of AnimeListState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) - _$$_AnimeListStateCopyWith<_$_AnimeListState> get copyWith => + @JsonKey(includeFromJson: false, includeToJson: false) + _$$AnimeListStateImplCopyWith<_$AnimeListStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/ui/bloc/anime_search_bloc.freezed.dart b/lib/src/ui/bloc/anime_search_bloc.freezed.dart index e6f00ea..aff2f13 100644 --- a/lib/src/ui/bloc/anime_search_bloc.freezed.dart +++ b/lib/src/ui/bloc/anime_search_bloc.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 'anime_search_bloc.dart'; @@ -12,7 +12,7 @@ part of 'anime_search_bloc.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$AnimeSearchState { @@ -21,7 +21,9 @@ mixin _$AnimeSearchState { bool get working => throw _privateConstructorUsedError; List get searchResults => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of AnimeSearchState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $AnimeSearchStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -30,7 +32,8 @@ mixin _$AnimeSearchState { abstract class $AnimeSearchStateCopyWith<$Res> { factory $AnimeSearchStateCopyWith( AnimeSearchState value, $Res Function(AnimeSearchState) then) = - _$AnimeSearchStateCopyWithImpl<$Res>; + _$AnimeSearchStateCopyWithImpl<$Res, AnimeSearchState>; + @useResult $Res call( {TrackingMediumType trackingType, String searchQuery, @@ -39,49 +42,54 @@ abstract class $AnimeSearchStateCopyWith<$Res> { } /// @nodoc -class _$AnimeSearchStateCopyWithImpl<$Res> +class _$AnimeSearchStateCopyWithImpl<$Res, $Val extends AnimeSearchState> implements $AnimeSearchStateCopyWith<$Res> { _$AnimeSearchStateCopyWithImpl(this._value, this._then); - final AnimeSearchState _value; // ignore: unused_field - final $Res Function(AnimeSearchState) _then; + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + /// Create a copy of AnimeSearchState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? trackingType = freezed, - Object? searchQuery = freezed, - Object? working = freezed, - Object? searchResults = freezed, + Object? trackingType = null, + Object? searchQuery = null, + Object? working = null, + Object? searchResults = null, }) { return _then(_value.copyWith( - trackingType: trackingType == freezed + trackingType: null == trackingType ? _value.trackingType : trackingType // ignore: cast_nullable_to_non_nullable as TrackingMediumType, - searchQuery: searchQuery == freezed + searchQuery: null == searchQuery ? _value.searchQuery : searchQuery // ignore: cast_nullable_to_non_nullable as String, - working: working == freezed + working: null == working ? _value.working : working // ignore: cast_nullable_to_non_nullable as bool, - searchResults: searchResults == freezed + searchResults: null == searchResults ? _value.searchResults : searchResults // ignore: cast_nullable_to_non_nullable as List, - )); + ) as $Val); } } /// @nodoc -abstract class _$$_AnimeSearchStateCopyWith<$Res> +abstract class _$$AnimeSearchStateImplCopyWith<$Res> implements $AnimeSearchStateCopyWith<$Res> { - factory _$$_AnimeSearchStateCopyWith( - _$_AnimeSearchState value, $Res Function(_$_AnimeSearchState) then) = - __$$_AnimeSearchStateCopyWithImpl<$Res>; + factory _$$AnimeSearchStateImplCopyWith(_$AnimeSearchStateImpl value, + $Res Function(_$AnimeSearchStateImpl) then) = + __$$AnimeSearchStateImplCopyWithImpl<$Res>; @override + @useResult $Res call( {TrackingMediumType trackingType, String searchQuery, @@ -90,37 +98,37 @@ abstract class _$$_AnimeSearchStateCopyWith<$Res> } /// @nodoc -class __$$_AnimeSearchStateCopyWithImpl<$Res> - extends _$AnimeSearchStateCopyWithImpl<$Res> - implements _$$_AnimeSearchStateCopyWith<$Res> { - __$$_AnimeSearchStateCopyWithImpl( - _$_AnimeSearchState _value, $Res Function(_$_AnimeSearchState) _then) - : super(_value, (v) => _then(v as _$_AnimeSearchState)); - - @override - _$_AnimeSearchState get _value => super._value as _$_AnimeSearchState; +class __$$AnimeSearchStateImplCopyWithImpl<$Res> + extends _$AnimeSearchStateCopyWithImpl<$Res, _$AnimeSearchStateImpl> + implements _$$AnimeSearchStateImplCopyWith<$Res> { + __$$AnimeSearchStateImplCopyWithImpl(_$AnimeSearchStateImpl _value, + $Res Function(_$AnimeSearchStateImpl) _then) + : super(_value, _then); + /// Create a copy of AnimeSearchState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? trackingType = freezed, - Object? searchQuery = freezed, - Object? working = freezed, - Object? searchResults = freezed, + Object? trackingType = null, + Object? searchQuery = null, + Object? working = null, + Object? searchResults = null, }) { - return _then(_$_AnimeSearchState( - trackingType: trackingType == freezed + return _then(_$AnimeSearchStateImpl( + trackingType: null == trackingType ? _value.trackingType : trackingType // ignore: cast_nullable_to_non_nullable as TrackingMediumType, - searchQuery: searchQuery == freezed + searchQuery: null == searchQuery ? _value.searchQuery : searchQuery // ignore: cast_nullable_to_non_nullable as String, - working: working == freezed + working: null == working ? _value.working : working // ignore: cast_nullable_to_non_nullable as bool, - searchResults: searchResults == freezed + searchResults: null == searchResults ? _value._searchResults : searchResults // ignore: cast_nullable_to_non_nullable as List, @@ -130,8 +138,8 @@ class __$$_AnimeSearchStateCopyWithImpl<$Res> /// @nodoc -class _$_AnimeSearchState implements _AnimeSearchState { - _$_AnimeSearchState( +class _$AnimeSearchStateImpl implements _AnimeSearchState { + _$AnimeSearchStateImpl( {this.trackingType = TrackingMediumType.anime, this.searchQuery = '', this.working = false, @@ -151,6 +159,7 @@ class _$_AnimeSearchState implements _AnimeSearchState { @override @JsonKey() List get searchResults { + if (_searchResults is EqualUnmodifiableListView) return _searchResults; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_searchResults); } @@ -161,31 +170,31 @@ class _$_AnimeSearchState implements _AnimeSearchState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_AnimeSearchState && - const DeepCollectionEquality() - .equals(other.trackingType, trackingType) && - const DeepCollectionEquality() - .equals(other.searchQuery, searchQuery) && - const DeepCollectionEquality().equals(other.working, working) && + other is _$AnimeSearchStateImpl && + (identical(other.trackingType, trackingType) || + other.trackingType == trackingType) && + (identical(other.searchQuery, searchQuery) || + other.searchQuery == searchQuery) && + (identical(other.working, working) || other.working == working) && const DeepCollectionEquality() .equals(other._searchResults, _searchResults)); } @override - int get hashCode => Object.hash( - runtimeType, - const DeepCollectionEquality().hash(trackingType), - const DeepCollectionEquality().hash(searchQuery), - const DeepCollectionEquality().hash(working), - const DeepCollectionEquality().hash(_searchResults)); + int get hashCode => Object.hash(runtimeType, trackingType, searchQuery, + working, const DeepCollectionEquality().hash(_searchResults)); - @JsonKey(ignore: true) + /// Create a copy of AnimeSearchState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override - _$$_AnimeSearchStateCopyWith<_$_AnimeSearchState> get copyWith => - __$$_AnimeSearchStateCopyWithImpl<_$_AnimeSearchState>(this, _$identity); + @pragma('vm:prefer-inline') + _$$AnimeSearchStateImplCopyWith<_$AnimeSearchStateImpl> get copyWith => + __$$AnimeSearchStateImplCopyWithImpl<_$AnimeSearchStateImpl>( + this, _$identity); } abstract class _AnimeSearchState implements AnimeSearchState { @@ -193,7 +202,7 @@ abstract class _AnimeSearchState implements AnimeSearchState { {final TrackingMediumType trackingType, final String searchQuery, final bool working, - final List searchResults}) = _$_AnimeSearchState; + final List searchResults}) = _$AnimeSearchStateImpl; @override TrackingMediumType get trackingType; @@ -203,8 +212,11 @@ abstract class _AnimeSearchState implements AnimeSearchState { bool get working; @override List get searchResults; + + /// Create a copy of AnimeSearchState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) - _$$_AnimeSearchStateCopyWith<_$_AnimeSearchState> get copyWith => + @JsonKey(includeFromJson: false, includeToJson: false) + _$$AnimeSearchStateImplCopyWith<_$AnimeSearchStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/ui/bloc/calendar_bloc.freezed.dart b/lib/src/ui/bloc/calendar_bloc.freezed.dart index d5681d2..d08c483 100644 --- a/lib/src/ui/bloc/calendar_bloc.freezed.dart +++ b/lib/src/ui/bloc/calendar_bloc.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 'calendar_bloc.dart'; @@ -12,7 +12,7 @@ part of 'calendar_bloc.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$CalendarState { @@ -20,7 +20,9 @@ mixin _$CalendarState { int get refreshingCount => throw _privateConstructorUsedError; int get refreshingTotal => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of CalendarState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $CalendarStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -29,79 +31,85 @@ mixin _$CalendarState { abstract class $CalendarStateCopyWith<$Res> { factory $CalendarStateCopyWith( CalendarState value, $Res Function(CalendarState) then) = - _$CalendarStateCopyWithImpl<$Res>; + _$CalendarStateCopyWithImpl<$Res, CalendarState>; + @useResult $Res call({bool refreshing, int refreshingCount, int refreshingTotal}); } /// @nodoc -class _$CalendarStateCopyWithImpl<$Res> +class _$CalendarStateCopyWithImpl<$Res, $Val extends CalendarState> implements $CalendarStateCopyWith<$Res> { _$CalendarStateCopyWithImpl(this._value, this._then); - final CalendarState _value; // ignore: unused_field - final $Res Function(CalendarState) _then; + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + /// Create a copy of CalendarState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? refreshing = freezed, - Object? refreshingCount = freezed, - Object? refreshingTotal = freezed, + Object? refreshing = null, + Object? refreshingCount = null, + Object? refreshingTotal = null, }) { return _then(_value.copyWith( - refreshing: refreshing == freezed + refreshing: null == refreshing ? _value.refreshing : refreshing // ignore: cast_nullable_to_non_nullable as bool, - refreshingCount: refreshingCount == freezed + refreshingCount: null == refreshingCount ? _value.refreshingCount : refreshingCount // ignore: cast_nullable_to_non_nullable as int, - refreshingTotal: refreshingTotal == freezed + refreshingTotal: null == refreshingTotal ? _value.refreshingTotal : refreshingTotal // ignore: cast_nullable_to_non_nullable as int, - )); + ) as $Val); } } /// @nodoc -abstract class _$$_CalendarStateCopyWith<$Res> +abstract class _$$CalendarStateImplCopyWith<$Res> implements $CalendarStateCopyWith<$Res> { - factory _$$_CalendarStateCopyWith( - _$_CalendarState value, $Res Function(_$_CalendarState) then) = - __$$_CalendarStateCopyWithImpl<$Res>; + factory _$$CalendarStateImplCopyWith( + _$CalendarStateImpl value, $Res Function(_$CalendarStateImpl) then) = + __$$CalendarStateImplCopyWithImpl<$Res>; @override + @useResult $Res call({bool refreshing, int refreshingCount, int refreshingTotal}); } /// @nodoc -class __$$_CalendarStateCopyWithImpl<$Res> - extends _$CalendarStateCopyWithImpl<$Res> - implements _$$_CalendarStateCopyWith<$Res> { - __$$_CalendarStateCopyWithImpl( - _$_CalendarState _value, $Res Function(_$_CalendarState) _then) - : super(_value, (v) => _then(v as _$_CalendarState)); - - @override - _$_CalendarState get _value => super._value as _$_CalendarState; +class __$$CalendarStateImplCopyWithImpl<$Res> + extends _$CalendarStateCopyWithImpl<$Res, _$CalendarStateImpl> + implements _$$CalendarStateImplCopyWith<$Res> { + __$$CalendarStateImplCopyWithImpl( + _$CalendarStateImpl _value, $Res Function(_$CalendarStateImpl) _then) + : super(_value, _then); + /// Create a copy of CalendarState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? refreshing = freezed, - Object? refreshingCount = freezed, - Object? refreshingTotal = freezed, + Object? refreshing = null, + Object? refreshingCount = null, + Object? refreshingTotal = null, }) { - return _then(_$_CalendarState( - refreshing == freezed + return _then(_$CalendarStateImpl( + null == refreshing ? _value.refreshing : refreshing // ignore: cast_nullable_to_non_nullable as bool, - refreshingCount == freezed + null == refreshingCount ? _value.refreshingCount : refreshingCount // ignore: cast_nullable_to_non_nullable as int, - refreshingTotal == freezed + null == refreshingTotal ? _value.refreshingTotal : refreshingTotal // ignore: cast_nullable_to_non_nullable as int, @@ -111,8 +119,9 @@ class __$$_CalendarStateCopyWithImpl<$Res> /// @nodoc -class _$_CalendarState implements _CalendarState { - _$_CalendarState(this.refreshing, this.refreshingCount, this.refreshingTotal); +class _$CalendarStateImpl implements _CalendarState { + _$CalendarStateImpl( + this.refreshing, this.refreshingCount, this.refreshingTotal); @override final bool refreshing; @@ -127,34 +136,34 @@ class _$_CalendarState implements _CalendarState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_CalendarState && - const DeepCollectionEquality() - .equals(other.refreshing, refreshing) && - const DeepCollectionEquality() - .equals(other.refreshingCount, refreshingCount) && - const DeepCollectionEquality() - .equals(other.refreshingTotal, refreshingTotal)); + other is _$CalendarStateImpl && + (identical(other.refreshing, refreshing) || + other.refreshing == refreshing) && + (identical(other.refreshingCount, refreshingCount) || + other.refreshingCount == refreshingCount) && + (identical(other.refreshingTotal, refreshingTotal) || + other.refreshingTotal == refreshingTotal)); } @override - int get hashCode => Object.hash( - runtimeType, - const DeepCollectionEquality().hash(refreshing), - const DeepCollectionEquality().hash(refreshingCount), - const DeepCollectionEquality().hash(refreshingTotal)); + int get hashCode => + Object.hash(runtimeType, refreshing, refreshingCount, refreshingTotal); - @JsonKey(ignore: true) + /// Create a copy of CalendarState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override - _$$_CalendarStateCopyWith<_$_CalendarState> get copyWith => - __$$_CalendarStateCopyWithImpl<_$_CalendarState>(this, _$identity); + @pragma('vm:prefer-inline') + _$$CalendarStateImplCopyWith<_$CalendarStateImpl> get copyWith => + __$$CalendarStateImplCopyWithImpl<_$CalendarStateImpl>(this, _$identity); } abstract class _CalendarState implements CalendarState { factory _CalendarState(final bool refreshing, final int refreshingCount, - final int refreshingTotal) = _$_CalendarState; + final int refreshingTotal) = _$CalendarStateImpl; @override bool get refreshing; @@ -162,8 +171,11 @@ abstract class _CalendarState implements CalendarState { int get refreshingCount; @override int get refreshingTotal; + + /// Create a copy of CalendarState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) - _$$_CalendarStateCopyWith<_$_CalendarState> get copyWith => + @JsonKey(includeFromJson: false, includeToJson: false) + _$$CalendarStateImplCopyWith<_$CalendarStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/ui/bloc/details_bloc.freezed.dart b/lib/src/ui/bloc/details_bloc.freezed.dart index b3585f4..f424a51 100644 --- a/lib/src/ui/bloc/details_bloc.freezed.dart +++ b/lib/src/ui/bloc/details_bloc.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 'details_bloc.dart'; @@ -12,7 +12,7 @@ part of 'details_bloc.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$DetailsState { @@ -20,7 +20,9 @@ mixin _$DetailsState { String? get heroImagePrefix => throw _privateConstructorUsedError; TrackingMediumType get trackingType => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of DetailsState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $DetailsStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -29,7 +31,8 @@ mixin _$DetailsState { abstract class $DetailsStateCopyWith<$Res> { factory $DetailsStateCopyWith( DetailsState value, $Res Function(DetailsState) then) = - _$DetailsStateCopyWithImpl<$Res>; + _$DetailsStateCopyWithImpl<$Res, DetailsState>; + @useResult $Res call( {TrackingMedium? data, String? heroImagePrefix, @@ -37,43 +40,49 @@ abstract class $DetailsStateCopyWith<$Res> { } /// @nodoc -class _$DetailsStateCopyWithImpl<$Res> implements $DetailsStateCopyWith<$Res> { +class _$DetailsStateCopyWithImpl<$Res, $Val extends DetailsState> + implements $DetailsStateCopyWith<$Res> { _$DetailsStateCopyWithImpl(this._value, this._then); - final DetailsState _value; // ignore: unused_field - final $Res Function(DetailsState) _then; + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + /// Create a copy of DetailsState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ Object? data = freezed, Object? heroImagePrefix = freezed, - Object? trackingType = freezed, + Object? trackingType = null, }) { return _then(_value.copyWith( - data: data == freezed + data: freezed == data ? _value.data : data // ignore: cast_nullable_to_non_nullable as TrackingMedium?, - heroImagePrefix: heroImagePrefix == freezed + heroImagePrefix: freezed == heroImagePrefix ? _value.heroImagePrefix : heroImagePrefix // ignore: cast_nullable_to_non_nullable as String?, - trackingType: trackingType == freezed + trackingType: null == trackingType ? _value.trackingType : trackingType // ignore: cast_nullable_to_non_nullable as TrackingMediumType, - )); + ) as $Val); } } /// @nodoc -abstract class _$$_DetailsStateCopyWith<$Res> +abstract class _$$DetailsStateImplCopyWith<$Res> implements $DetailsStateCopyWith<$Res> { - factory _$$_DetailsStateCopyWith( - _$_DetailsState value, $Res Function(_$_DetailsState) then) = - __$$_DetailsStateCopyWithImpl<$Res>; + factory _$$DetailsStateImplCopyWith( + _$DetailsStateImpl value, $Res Function(_$DetailsStateImpl) then) = + __$$DetailsStateImplCopyWithImpl<$Res>; @override + @useResult $Res call( {TrackingMedium? data, String? heroImagePrefix, @@ -81,32 +90,32 @@ abstract class _$$_DetailsStateCopyWith<$Res> } /// @nodoc -class __$$_DetailsStateCopyWithImpl<$Res> - extends _$DetailsStateCopyWithImpl<$Res> - implements _$$_DetailsStateCopyWith<$Res> { - __$$_DetailsStateCopyWithImpl( - _$_DetailsState _value, $Res Function(_$_DetailsState) _then) - : super(_value, (v) => _then(v as _$_DetailsState)); - - @override - _$_DetailsState get _value => super._value as _$_DetailsState; +class __$$DetailsStateImplCopyWithImpl<$Res> + extends _$DetailsStateCopyWithImpl<$Res, _$DetailsStateImpl> + implements _$$DetailsStateImplCopyWith<$Res> { + __$$DetailsStateImplCopyWithImpl( + _$DetailsStateImpl _value, $Res Function(_$DetailsStateImpl) _then) + : super(_value, _then); + /// Create a copy of DetailsState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ Object? data = freezed, Object? heroImagePrefix = freezed, - Object? trackingType = freezed, + Object? trackingType = null, }) { - return _then(_$_DetailsState( - data: data == freezed + return _then(_$DetailsStateImpl( + data: freezed == data ? _value.data : data // ignore: cast_nullable_to_non_nullable as TrackingMedium?, - heroImagePrefix: heroImagePrefix == freezed + heroImagePrefix: freezed == heroImagePrefix ? _value.heroImagePrefix : heroImagePrefix // ignore: cast_nullable_to_non_nullable as String?, - trackingType: trackingType == freezed + trackingType: null == trackingType ? _value.trackingType : trackingType // ignore: cast_nullable_to_non_nullable as TrackingMediumType, @@ -116,8 +125,8 @@ class __$$_DetailsStateCopyWithImpl<$Res> /// @nodoc -class _$_DetailsState implements _DetailsState { - _$_DetailsState( +class _$DetailsStateImpl implements _DetailsState { + _$DetailsStateImpl( {this.data, this.heroImagePrefix, this.trackingType = TrackingMediumType.anime}); @@ -136,35 +145,35 @@ class _$_DetailsState implements _DetailsState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_DetailsState && - const DeepCollectionEquality().equals(other.data, data) && - const DeepCollectionEquality() - .equals(other.heroImagePrefix, heroImagePrefix) && - const DeepCollectionEquality() - .equals(other.trackingType, trackingType)); + other is _$DetailsStateImpl && + (identical(other.data, data) || other.data == data) && + (identical(other.heroImagePrefix, heroImagePrefix) || + other.heroImagePrefix == heroImagePrefix) && + (identical(other.trackingType, trackingType) || + other.trackingType == trackingType)); } @override - int get hashCode => Object.hash( - runtimeType, - const DeepCollectionEquality().hash(data), - const DeepCollectionEquality().hash(heroImagePrefix), - const DeepCollectionEquality().hash(trackingType)); + int get hashCode => + Object.hash(runtimeType, data, heroImagePrefix, trackingType); - @JsonKey(ignore: true) + /// Create a copy of DetailsState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override - _$$_DetailsStateCopyWith<_$_DetailsState> get copyWith => - __$$_DetailsStateCopyWithImpl<_$_DetailsState>(this, _$identity); + @pragma('vm:prefer-inline') + _$$DetailsStateImplCopyWith<_$DetailsStateImpl> get copyWith => + __$$DetailsStateImplCopyWithImpl<_$DetailsStateImpl>(this, _$identity); } abstract class _DetailsState implements DetailsState { factory _DetailsState( {final TrackingMedium? data, final String? heroImagePrefix, - final TrackingMediumType trackingType}) = _$_DetailsState; + final TrackingMediumType trackingType}) = _$DetailsStateImpl; @override TrackingMedium? get data; @@ -172,8 +181,11 @@ abstract class _DetailsState implements DetailsState { String? get heroImagePrefix; @override TrackingMediumType get trackingType; + + /// Create a copy of DetailsState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) - _$$_DetailsStateCopyWith<_$_DetailsState> get copyWith => + @JsonKey(includeFromJson: false, includeToJson: false) + _$$DetailsStateImplCopyWith<_$DetailsStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/ui/bloc/settings_bloc.freezed.dart b/lib/src/ui/bloc/settings_bloc.freezed.dart index 36a24c9..73aca8a 100644 --- a/lib/src/ui/bloc/settings_bloc.freezed.dart +++ b/lib/src/ui/bloc/settings_bloc.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 'settings_bloc.dart'; @@ -12,7 +12,7 @@ part of 'settings_bloc.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$SettingsState { @@ -20,7 +20,9 @@ mixin _$SettingsState { int get importCurrent => throw _privateConstructorUsedError; int get importTotal => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of SettingsState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $SettingsStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -29,79 +31,85 @@ mixin _$SettingsState { abstract class $SettingsStateCopyWith<$Res> { factory $SettingsStateCopyWith( SettingsState value, $Res Function(SettingsState) then) = - _$SettingsStateCopyWithImpl<$Res>; + _$SettingsStateCopyWithImpl<$Res, SettingsState>; + @useResult $Res call({bool importSpinnerVisible, int importCurrent, int importTotal}); } /// @nodoc -class _$SettingsStateCopyWithImpl<$Res> +class _$SettingsStateCopyWithImpl<$Res, $Val extends SettingsState> implements $SettingsStateCopyWith<$Res> { _$SettingsStateCopyWithImpl(this._value, this._then); - final SettingsState _value; // ignore: unused_field - final $Res Function(SettingsState) _then; + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + /// Create a copy of SettingsState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? importSpinnerVisible = freezed, - Object? importCurrent = freezed, - Object? importTotal = freezed, + Object? importSpinnerVisible = null, + Object? importCurrent = null, + Object? importTotal = null, }) { return _then(_value.copyWith( - importSpinnerVisible: importSpinnerVisible == freezed + importSpinnerVisible: null == importSpinnerVisible ? _value.importSpinnerVisible : importSpinnerVisible // ignore: cast_nullable_to_non_nullable as bool, - importCurrent: importCurrent == freezed + importCurrent: null == importCurrent ? _value.importCurrent : importCurrent // ignore: cast_nullable_to_non_nullable as int, - importTotal: importTotal == freezed + importTotal: null == importTotal ? _value.importTotal : importTotal // ignore: cast_nullable_to_non_nullable as int, - )); + ) as $Val); } } /// @nodoc -abstract class _$$_SettingsStateCopyWith<$Res> +abstract class _$$SettingsStateImplCopyWith<$Res> implements $SettingsStateCopyWith<$Res> { - factory _$$_SettingsStateCopyWith( - _$_SettingsState value, $Res Function(_$_SettingsState) then) = - __$$_SettingsStateCopyWithImpl<$Res>; + factory _$$SettingsStateImplCopyWith( + _$SettingsStateImpl value, $Res Function(_$SettingsStateImpl) then) = + __$$SettingsStateImplCopyWithImpl<$Res>; @override + @useResult $Res call({bool importSpinnerVisible, int importCurrent, int importTotal}); } /// @nodoc -class __$$_SettingsStateCopyWithImpl<$Res> - extends _$SettingsStateCopyWithImpl<$Res> - implements _$$_SettingsStateCopyWith<$Res> { - __$$_SettingsStateCopyWithImpl( - _$_SettingsState _value, $Res Function(_$_SettingsState) _then) - : super(_value, (v) => _then(v as _$_SettingsState)); - - @override - _$_SettingsState get _value => super._value as _$_SettingsState; +class __$$SettingsStateImplCopyWithImpl<$Res> + extends _$SettingsStateCopyWithImpl<$Res, _$SettingsStateImpl> + implements _$$SettingsStateImplCopyWith<$Res> { + __$$SettingsStateImplCopyWithImpl( + _$SettingsStateImpl _value, $Res Function(_$SettingsStateImpl) _then) + : super(_value, _then); + /// Create a copy of SettingsState + /// with the given fields replaced by the non-null parameter values. + @pragma('vm:prefer-inline') @override $Res call({ - Object? importSpinnerVisible = freezed, - Object? importCurrent = freezed, - Object? importTotal = freezed, + Object? importSpinnerVisible = null, + Object? importCurrent = null, + Object? importTotal = null, }) { - return _then(_$_SettingsState( - importSpinnerVisible: importSpinnerVisible == freezed + return _then(_$SettingsStateImpl( + importSpinnerVisible: null == importSpinnerVisible ? _value.importSpinnerVisible : importSpinnerVisible // ignore: cast_nullable_to_non_nullable as bool, - importCurrent: importCurrent == freezed + importCurrent: null == importCurrent ? _value.importCurrent : importCurrent // ignore: cast_nullable_to_non_nullable as int, - importTotal: importTotal == freezed + importTotal: null == importTotal ? _value.importTotal : importTotal // ignore: cast_nullable_to_non_nullable as int, @@ -111,8 +119,8 @@ class __$$_SettingsStateCopyWithImpl<$Res> /// @nodoc -class _$_SettingsState implements _SettingsState { - _$_SettingsState( +class _$SettingsStateImpl implements _SettingsState { + _$SettingsStateImpl( {this.importSpinnerVisible = false, this.importCurrent = 0, this.importTotal = 0}); @@ -133,36 +141,36 @@ class _$_SettingsState implements _SettingsState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_SettingsState && - const DeepCollectionEquality() - .equals(other.importSpinnerVisible, importSpinnerVisible) && - const DeepCollectionEquality() - .equals(other.importCurrent, importCurrent) && - const DeepCollectionEquality() - .equals(other.importTotal, importTotal)); + other is _$SettingsStateImpl && + (identical(other.importSpinnerVisible, importSpinnerVisible) || + other.importSpinnerVisible == importSpinnerVisible) && + (identical(other.importCurrent, importCurrent) || + other.importCurrent == importCurrent) && + (identical(other.importTotal, importTotal) || + other.importTotal == importTotal)); } @override int get hashCode => Object.hash( - runtimeType, - const DeepCollectionEquality().hash(importSpinnerVisible), - const DeepCollectionEquality().hash(importCurrent), - const DeepCollectionEquality().hash(importTotal)); + runtimeType, importSpinnerVisible, importCurrent, importTotal); - @JsonKey(ignore: true) + /// Create a copy of SettingsState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override - _$$_SettingsStateCopyWith<_$_SettingsState> get copyWith => - __$$_SettingsStateCopyWithImpl<_$_SettingsState>(this, _$identity); + @pragma('vm:prefer-inline') + _$$SettingsStateImplCopyWith<_$SettingsStateImpl> get copyWith => + __$$SettingsStateImplCopyWithImpl<_$SettingsStateImpl>(this, _$identity); } abstract class _SettingsState implements SettingsState { factory _SettingsState( {final bool importSpinnerVisible, final int importCurrent, - final int importTotal}) = _$_SettingsState; + final int importTotal}) = _$SettingsStateImpl; @override bool get importSpinnerVisible; @@ -170,8 +178,11 @@ abstract class _SettingsState implements SettingsState { int get importCurrent; @override int get importTotal; + + /// Create a copy of SettingsState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) - _$$_SettingsStateCopyWith<_$_SettingsState> get copyWith => + @JsonKey(includeFromJson: false, includeToJson: false) + _$$SettingsStateImplCopyWith<_$SettingsStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/pubspec.lock b/pubspec.lock index 594aeee..8bf4dec 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,34 +5,39 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: "3444216bfd127af50bbe4862d8843ed44db946dd933554f0d7285e89f10e28ac" + sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834 url: "https://pub.dev" source: hosted - version: "50.0.0" + version: "72.0.0" + _macros: + dependency: transitive + description: dart + source: sdk + version: "0.3.2" analyzer: dependency: transitive description: name: analyzer - sha256: "68796c31f510c8455a06fed75fc97d8e5ad04d324a830322ab3efc9feb6201c1" + sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139 url: "https://pub.dev" source: hosted - version: "5.2.0" + version: "6.7.0" archive: dependency: "direct main" description: name: archive - sha256: "0c8368c9b3f0abbc193b9d6133649a614204b528982bebc7026372d61677ce3a" + sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d url: "https://pub.dev" source: hosted - version: "3.3.7" + version: "3.6.1" args: dependency: transitive description: name: args - sha256: "139d809800a412ebb26a3892da228b2d0ba36f0ef5d9a82166e5e52ec8d61611" + sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.5.0" async: dependency: transitive description: @@ -45,10 +50,10 @@ packages: dependency: "direct main" description: name: bloc - sha256: bd4f8027bfa60d96c8046dec5ce74c463b2c918dce1b0d36593575995344534a + sha256: "106842ad6569f0b60297619e9e0b1885c2fb9bf84812935490e6c5275777804e" url: "https://pub.dev" source: hosted - version: "8.1.0" + version: "8.1.4" boolean_selector: dependency: transitive description: @@ -69,10 +74,10 @@ packages: dependency: transitive description: name: build - sha256: "3fbda25365741f8251b39f3917fb3c8e286a96fd068a5a242e11c2012d495777" + sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.4.1" build_config: dependency: transitive description: @@ -85,34 +90,34 @@ packages: dependency: transitive description: name: build_daemon - sha256: "6bc5544ea6ce4428266e7ea680e945c68806c4aae2da0eb5e9ccf38df8d6acbf" + sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "4.0.2" build_resolvers: dependency: transitive description: name: build_resolvers - sha256: "7c35a3a7868626257d8aee47b51c26b9dba11eaddf3431117ed2744951416aab" + sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.4.2" build_runner: dependency: "direct dev" description: name: build_runner - sha256: b0a8a7b8a76c493e85f1b84bffa0588859a06197863dba8c9036b15581fd9727 + sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04 url: "https://pub.dev" source: hosted - version: "2.3.3" + version: "2.4.12" build_runner_core: dependency: transitive description: name: build_runner_core - sha256: "14febe0f5bac5ae474117a36099b4de6f1dbc52df6c5e55534b3da9591bf4292" + sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0 url: "https://pub.dev" source: hosted - version: "7.2.7" + version: "7.3.2" built_collection: dependency: transitive description: @@ -125,34 +130,34 @@ packages: dependency: transitive description: name: built_value - sha256: "169565c8ad06adb760c3645bf71f00bff161b00002cace266cad42c5d22a7725" + sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb url: "https://pub.dev" source: hosted - version: "8.4.3" + version: "8.9.2" cached_network_image: dependency: "direct main" description: name: cached_network_image - sha256: fd3d0dc1d451f9a252b32d95d3f0c3c487bc41a75eba2e6097cb0b9c71491b15 + sha256: "7c1183e361e5c8b0a0f21a28401eecdbde252441106a9816400dd4c2b2424916" url: "https://pub.dev" source: hosted - version: "3.2.3" + version: "3.4.1" cached_network_image_platform_interface: dependency: transitive description: name: cached_network_image_platform_interface - sha256: bb2b8403b4ccdc60ef5f25c70dead1f3d32d24b9d6117cfc087f496b178594a7 + sha256: "35814b016e37fbdc91f7ae18c8caf49ba5c88501813f73ce8a07027a395e2829" url: "https://pub.dev" source: hosted - version: "2.0.0" + version: "4.1.1" cached_network_image_web: dependency: transitive description: name: cached_network_image_web - sha256: b8eb814ebfcb4dea049680f8c1ffb2df399e4d03bf7a352c775e26fa06e02fa0 + sha256: "980842f4e8e2535b8dbd3d5ca0b1f0ba66bf61d14cc3a17a9b4788a3685ba062" url: "https://pub.dev" source: hosted - version: "1.0.2" + version: "1.3.1" characters: dependency: transitive description: @@ -165,18 +170,18 @@ packages: dependency: transitive description: name: checked_yaml - sha256: "3d1505d91afa809d177efd4eed5bb0eb65805097a1463abdd2add076effae311" + sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff url: "https://pub.dev" source: hosted - version: "2.0.2" + version: "2.0.3" cli_util: dependency: transitive description: name: cli_util - sha256: "66f86e916d285c1a93d3b79587d94bd71984a66aac4ff74e524cfa7877f1395c" + sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19 url: "https://pub.dev" source: hosted - version: "0.3.5" + version: "0.4.1" clock: dependency: transitive description: @@ -189,18 +194,18 @@ packages: dependency: transitive description: name: code_builder - sha256: "0d43dd1288fd145de1ecc9a3948ad4a6d5a82f0a14c4fdd0892260787d975cbe" + sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37 url: "https://pub.dev" source: hosted - version: "4.4.0" + version: "4.10.0" collection: dependency: "direct main" description: name: collection - sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.1" + version: "1.18.0" convert: dependency: transitive description: @@ -209,46 +214,54 @@ packages: url: "https://pub.dev" source: hosted version: "3.1.1" + cross_file: + dependency: transitive + description: + name: cross_file + sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" + url: "https://pub.dev" + source: hosted + version: "0.3.4+2" crypto: dependency: transitive description: name: crypto - sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67 + sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.5" csv: dependency: transitive description: name: csv - sha256: "016b31a51a913744a0a1655c74ff13c9379e1200e246a03d96c81c5d9ed297b5" + sha256: c6aa2679b2a18cb57652920f674488d89712efaf4d3fdf2e537215b35fc19d6c url: "https://pub.dev" source: hosted - version: "5.0.2" + version: "6.0.0" cupertino_icons: dependency: "direct main" description: name: cupertino_icons - sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be + sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.dev" source: hosted - version: "1.0.5" + version: "1.0.8" dart_pubspec_licenses: dependency: transitive description: name: dart_pubspec_licenses - sha256: "38680e2d2fc41df3a0d435d0955b91acc382aeefcb89ef4738f8167c8288a29d" + sha256: a488baa010044452b208bc35c6dd62ac072a1ea918f796e4381d5aa1b21cfa41 url: "https://pub.dev" source: hosted - version: "2.0.2" + version: "3.0.1" dart_style: dependency: transitive description: name: dart_style - sha256: "7a03456c3490394c8e7665890333e91ae8a49be43542b616e414449ac358acd4" + sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab" url: "https://pub.dev" source: hosted - version: "2.2.4" + version: "2.3.7" fake_async: dependency: transitive description: @@ -261,34 +274,34 @@ packages: dependency: transitive description: name: ffi - sha256: a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978 + sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "2.1.3" file: dependency: transitive description: name: file - sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted - version: "6.1.4" + version: "7.0.0" file_picker: dependency: "direct main" description: name: file_picker - sha256: dd328189f2f4ccea042bb5b382d5e981691cc74b5a3429b9317bff2b19704489 + sha256: "167bb619cdddaa10ef2907609feb8a79c16dfa479d3afaf960f8e223f754bf12" url: "https://pub.dev" source: hosted - version: "5.2.8" + version: "8.1.2" fixnum: dependency: transitive description: name: fixnum - sha256: "04be3e934c52e082558cc9ee21f42f5c1cd7a1262f4c63cd0357c08d5bba81ec" + sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.1.0" flutter: dependency: "direct main" description: flutter @@ -298,58 +311,50 @@ packages: dependency: "direct main" description: name: flutter_bloc - sha256: "890c51c8007f0182360e523518a0c732efb89876cb4669307af7efada5b55557" + sha256: b594505eac31a0518bdcb4b5b79573b8d9117b193cc80cc12e17d639b10aa27a url: "https://pub.dev" source: hosted - version: "8.1.1" - flutter_blurhash: - dependency: transitive - description: - name: flutter_blurhash - sha256: "05001537bd3fac7644fa6558b09ec8c0a3f2eba78c0765f88912882b1331a5c6" - url: "https://pub.dev" - source: hosted - version: "0.7.0" + version: "8.1.6" flutter_cache_manager: dependency: transitive description: name: flutter_cache_manager - sha256: "32cd900555219333326a2d0653aaaf8671264c29befa65bbd9856d204a4c9fb3" + sha256: "400b6592f16a4409a7f2bb929a9a7e38c72cceb8ffb99ee57bbf2cb2cecf8386" url: "https://pub.dev" source: hosted - version: "3.3.0" + version: "3.4.1" flutter_launcher_icons: dependency: "direct dev" description: name: flutter_launcher_icons - sha256: ce0e501cfc258907842238e4ca605e74b7fd1cdf04b3b43e86c43f3e40a1592c + sha256: "619817c4b65b322b5104b6bb6dfe6cda62d9729bd7ad4303ecc8b4e690a67a77" url: "https://pub.dev" source: hosted - version: "0.11.0" + version: "0.14.1" flutter_lints: dependency: "direct dev" description: name: flutter_lints - sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c + sha256: "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "5.0.0" flutter_oss_licenses: dependency: "direct dev" description: name: flutter_oss_licenses - sha256: eb15e1146b101dca063a177f6d339dfb85b639a9e2d2b71c18188d5fb2144869 + sha256: "1219e0e03faac80e68a554b79447d4936c79081d698abca912cc123fb77094aa" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "3.0.2" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: c224ac897bed083dabf11f238dd11a239809b446740be0c2044608c50029ffdf + sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda" url: "https://pub.dev" source: hosted - version: "2.0.9" + version: "2.0.22" flutter_test: dependency: "direct dev" description: flutter @@ -364,66 +369,66 @@ packages: dependency: "direct main" description: name: fluttertoast - sha256: "474f7d506230897a3cd28c965ec21c5328ae5605fc9c400cd330e9e9d6ac175c" + sha256: "95f349437aeebe524ef7d6c9bde3e6b4772717cf46a0eb6a3ceaddc740b297cc" url: "https://pub.dev" source: hosted - version: "8.2.2" + version: "8.2.8" freezed: dependency: "direct dev" description: name: freezed - sha256: "20db669e3663fd0cbfb53729e513199fb08627ae40de0db85e0b0fe32f82bf82" + sha256: "44c19278dd9d89292cf46e97dc0c1e52ce03275f40a97c5a348e802a924bf40e" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.5.7" freezed_annotation: dependency: "direct main" description: name: freezed_annotation - sha256: "625eb228fd9f00f952b7cd245be34791434fad48375f74e46f97dea4b4e11678" + sha256: c2e2d632dd9b8a2b7751117abcfc2b4888ecfe181bd9fca7170d9ef02e595fe2 url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.4.4" frontend_server_client: dependency: transitive description: name: frontend_server_client - sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612" + sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "4.0.0" get_it: dependency: "direct main" description: name: get_it - sha256: "290fde3a86072e4b37dbb03c07bec6126f0ecc28dad403c12ffe2e5a2d751ab7" + sha256: ff97e5e7b2e82e63c82f5658c6ba2605ea831f0f7489b0d2fb255d817ec4eb5e url: "https://pub.dev" source: hosted - version: "7.2.0" + version: "8.0.0" glob: dependency: transitive description: name: glob - sha256: "4515b5b6ddb505ebdd242a5f2cc5d22d3d6a80013789debfbda7777f47ea308c" + sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" graphs: dependency: transitive description: name: graphs - sha256: f9e130f3259f52d26f0cfc0e964513796dafed572fa52e45d2f8d6ca14db39b2 + sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" url: "https://pub.dev" source: hosted - version: "2.2.0" + version: "2.3.2" http: dependency: transitive description: name: http - sha256: "6aa2946395183537c8b880962d935877325d6a09a2867c3970c05c0fed6ac482" + sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 url: "https://pub.dev" source: hosted - version: "0.13.5" + version: "1.2.2" http_multi_server: dependency: transitive description: @@ -444,10 +449,10 @@ packages: dependency: transitive description: name: image - sha256: "8e9d133755c3e84c73288363e6343157c383a0c6c56fc51afcc5d4d7180306d6" + sha256: "2237616a36c0d69aef7549ab439b833fb7f9fb9fc861af2cc9ac3eedddd69ca8" url: "https://pub.dev" source: hosted - version: "3.3.0" + version: "4.2.0" io: dependency: transitive description: @@ -460,18 +465,18 @@ packages: dependency: "direct main" description: name: jikan_api - sha256: "48c5fb1f63e4d8e8eb49aecc6585d4a223134a4edda10543c0a978a4a2591cff" + sha256: "43cace06b6d807ea9d808f32c8f761e52cb08dfb4482b727bee2246f9d751d30" url: "https://pub.dev" source: hosted - version: "2.0.0" + version: "2.2.1" js: dependency: transitive description: name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf url: "https://pub.dev" source: hosted - version: "0.6.7" + version: "0.7.1" json2yaml: dependency: transitive description: @@ -484,66 +489,98 @@ packages: dependency: "direct main" description: name: json_annotation - sha256: cb314f00b2488de7bc575207e54402cd2f92363f333a7933fd1b0631af226baa + sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" url: "https://pub.dev" source: hosted - version: "4.6.0" + version: "4.9.0" json_serializable: dependency: "direct dev" description: name: json_serializable - sha256: fd1bcfbf6f623e1dfcc60616f189a6ca540dba7b5917447be5dab754b3116932 + sha256: ea1432d167339ea9b5bb153f0571d0039607a873d6e04e0117af043f14a1fd4b url: "https://pub.dev" source: hosted - version: "6.3.2" + version: "6.8.0" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" + url: "https://pub.dev" + source: hosted + version: "10.0.5" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" + url: "https://pub.dev" + source: hosted + version: "3.0.5" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" lints: dependency: transitive description: name: lints - sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593" + sha256: "3315600f3fb3b135be672bf4a178c55f274bebe368325ae18462c89ac1e3b413" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "5.0.0" logging: dependency: transitive description: name: logging - sha256: "04094f2eb032cbb06c6f6e8d3607edcfcb0455e2bb6cbc010cb01171dcb64e6d" + sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.2.0" + macros: + dependency: transitive + description: + name: macros + sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536" + url: "https://pub.dev" + source: hosted + version: "0.1.2-main.4" matcher: dependency: transitive description: name: matcher - sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.15" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.2.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.15.0" mime: dependency: transitive description: name: mime - sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e + sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.0.6" nested: dependency: transitive description: @@ -556,10 +593,10 @@ packages: dependency: transitive description: name: octo_image - sha256: "107f3ed1330006a3bea63615e81cf637433f5135a52466c7caa0e7152bca9143" + sha256: "34faa6639a78c7e3cbe79be6f9f96535867e879748ade7d17c9b1ae7536293bd" url: "https://pub.dev" source: hosted - version: "1.0.2" + version: "2.1.0" package_config: dependency: transitive description: @@ -572,138 +609,130 @@ packages: dependency: "direct main" description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" path_provider: dependency: transitive description: name: path_provider - sha256: dcea5feb97d8abf90cab9e9030b497fb7c3cbf26b7a1fe9e3ef7dcb0a1ddec95 + sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 url: "https://pub.dev" source: hosted - version: "2.0.12" + version: "2.1.4" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: a776c088d671b27f6e3aa8881d64b87b3e80201c64e8869b811325de7a76c15e + sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" url: "https://pub.dev" source: hosted - version: "2.0.22" + version: "2.2.10" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "62a68e7e1c6c459f9289859e2fae58290c981ce21d1697faf54910fe1faa4c74" + sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.4.0" path_provider_linux: dependency: transitive description: name: path_provider_linux - sha256: ab0987bf95bc591da42dffb38c77398fc43309f0b9b894dcc5d6f40c4b26c379 + sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 url: "https://pub.dev" source: hosted - version: "2.1.7" + version: "2.2.1" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface - sha256: f0abc8ebd7253741f05488b4813d936b4d07c6bae3e86148a09e342ee4b08e76 + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" url: "https://pub.dev" source: hosted - version: "2.0.5" + version: "2.1.2" path_provider_windows: dependency: transitive description: name: path_provider_windows - sha256: bcabbe399d4042b8ee687e17548d5d3f527255253b4a639f5f8d2094a9c2b45c + sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 url: "https://pub.dev" source: hosted - version: "2.1.3" - pedantic: - dependency: transitive - description: - name: pedantic - sha256: "67fc27ed9639506c856c840ccce7594d0bdcd91bc8d53d6e52359449a1d50602" - url: "https://pub.dev" - source: hosted - version: "1.11.1" + version: "2.3.0" permission_handler: dependency: "direct main" description: name: permission_handler - sha256: "63e5216aae014a72fe9579ccd027323395ce7a98271d9defa9d57320d001af81" + sha256: "18bf33f7fefbd812f37e72091a15575e72d5318854877e0e4035a24ac1113ecb" url: "https://pub.dev" source: hosted - version: "10.4.3" + version: "11.3.1" permission_handler_android: dependency: transitive description: name: permission_handler_android - sha256: c0c9754479a4c4b1c1f3862ddc11930c9b3f03bef2816bb4ea6eed1e13551d6f + sha256: "76e4ab092c1b240d31177bb64d2b0bea43f43d0e23541ec866151b9f7b2490fa" url: "https://pub.dev" source: hosted - version: "10.3.2" + version: "12.0.12" permission_handler_apple: dependency: transitive description: name: permission_handler_apple - sha256: "99e220bce3f8877c78e4ace901082fb29fa1b4ebde529ad0932d8d664b34f3f5" + sha256: e6f6d73b12438ef13e648c4ae56bd106ec60d17e90a59c4545db6781229082a0 url: "https://pub.dev" source: hosted - version: "9.1.4" + version: "9.4.5" + permission_handler_html: + dependency: transitive + description: + name: permission_handler_html + sha256: af26edbbb1f2674af65a8f4b56e1a6f526156bc273d0e65dd8075fab51c78851 + url: "https://pub.dev" + source: hosted + version: "0.1.3+2" permission_handler_platform_interface: dependency: transitive description: name: permission_handler_platform_interface - sha256: "7c6b1500385dd1d2ca61bb89e2488ca178e274a69144d26bbd65e33eae7c02a9" + sha256: e9c8eadee926c4532d0305dff94b85bf961f16759c3af791486613152af4b4f9 url: "https://pub.dev" source: hosted - version: "3.11.3" + version: "4.2.3" permission_handler_windows: dependency: transitive description: name: permission_handler_windows - sha256: cc074aace208760f1eee6aa4fae766b45d947df85bc831cde77009cdb4720098 + sha256: "1a790728016f79a41216d88672dbc5df30e686e811ad4e698bfc51f76ad91f1e" url: "https://pub.dev" source: hosted - version: "0.1.3" + version: "0.2.1" petitparser: dependency: transitive description: name: petitparser - sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4" + sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 url: "https://pub.dev" source: hosted - version: "5.1.0" + version: "6.0.2" platform: dependency: transitive description: name: platform - sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76" + sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "3.1.5" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface - sha256: dbf0f707c78beedc9200146ad3cb0ab4d5da13c246336987be6940f026500d3a + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted - version: "2.1.3" - pointycastle: - dependency: transitive - description: - name: pointycastle - sha256: db7306cf0249f838d1a24af52b5a5887c5bf7f31d8bb4e827d071dc0939ad346 - url: "https://pub.dev" - source: hosted - version: "3.6.2" + version: "2.1.8" pool: dependency: transitive description: @@ -712,62 +741,54 @@ packages: url: "https://pub.dev" source: hosted version: "1.5.1" - process: - dependency: transitive - description: - name: process - sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" - url: "https://pub.dev" - source: hosted - version: "4.2.4" provider: dependency: transitive description: name: provider - sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f + sha256: c8a055ee5ce3fd98d6fc872478b03823ffdb448699c6ebdbbc71d59b596fd48c url: "https://pub.dev" source: hosted - version: "6.0.5" + version: "6.1.2" pub_semver: dependency: transitive description: name: pub_semver - sha256: "307de764d305289ff24ad257ad5c5793ce56d04947599ad68b3baa124105fc17" + sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" url: "https://pub.dev" source: hosted - version: "2.1.3" + version: "2.1.4" pubspec_parse: dependency: transitive description: name: pubspec_parse - sha256: "75f6614d6dde2dc68948dffbaa4fe5dae32cd700eb9fb763fe11dfb45a3c4d0a" + sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8 url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.3.0" rxdart: dependency: transitive description: name: rxdart - sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" + sha256: "5c3004a4a8dbb94bd4bf5412a4def4acdaa12e12f269737a5751369e12d1a962" url: "https://pub.dev" source: hosted - version: "0.27.7" + version: "0.28.0" shelf: dependency: transitive description: name: shelf - sha256: c24a96135a2ccd62c64b69315a14adc5c3419df63b4d7c05832a346fdb73682c + sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 url: "https://pub.dev" source: hosted - version: "1.4.0" + version: "1.4.1" shelf_web_socket: dependency: transitive description: name: shelf_web_socket - sha256: a988c0e8d8ffbdb8a28aa7ec8e449c260f3deb808781fe1284d22c5bba7156e8 + sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611" url: "https://pub.dev" source: hosted - version: "1.0.3" + version: "2.0.0" sky_engine: dependency: transitive description: flutter @@ -777,82 +798,90 @@ packages: dependency: "direct main" description: name: slang - sha256: "187e35d220765ff22be030b30506d1b8e0e94842a2c1801a6a2941c95db5a9eb" + sha256: a2f704508bf9f209b71c881347bd27de45309651e9bd63570e4dd6ed2a77fbd2 url: "https://pub.dev" source: hosted - version: "3.19.0" + version: "3.31.2" slang_build_runner: dependency: "direct dev" description: name: slang_build_runner - sha256: "3c48c91736704879b767552bf9e7ba38f1974dd06f44b5e15981cadfde06d760" + sha256: "6e60160e8000b91824c47221b20d9642e7408287a5a21837ecefc75270197586" url: "https://pub.dev" source: hosted - version: "3.19.0" + version: "3.31.0" slang_flutter: dependency: "direct main" description: name: slang_flutter - sha256: c6c58162ef66fe88be0313d8062a39e98ae9b539dde7b35f59fa206eb4db2030 + sha256: f8400292be49c11697d94af58d7f7d054c91af759f41ffe71e4e5413871ffc62 url: "https://pub.dev" source: hosted - version: "3.19.0" + version: "3.31.0" source_gen: dependency: transitive description: name: source_gen - sha256: c2bea18c95cfa0276a366270afaa2850b09b4a76db95d546f3d003dcc7011298 + sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832" url: "https://pub.dev" source: hosted - version: "1.2.7" + version: "1.5.0" source_helper: dependency: transitive description: name: source_helper - sha256: "3b67aade1d52416149c633ba1bb36df44d97c6b51830c2198e934e3fca87ca1f" + sha256: "6adebc0006c37dd63fe05bca0a929b99f06402fc95aa35bf36d67f5c06de01fd" url: "https://pub.dev" source: hosted - version: "1.3.3" + version: "1.3.4" source_span: 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: + name: sprintf + sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" + url: "https://pub.dev" + source: hosted + version: "7.0.0" sqflite: dependency: "direct main" description: name: sqflite - sha256: "78324387dc81df14f78df06019175a86a2ee0437624166c382e145d0a7fd9a4f" + sha256: ff5a2436ef8ebdfda748fbfe957f9981524cb5ff11e7bafa8c42771840e8a788 url: "https://pub.dev" source: hosted - version: "2.2.4+1" + version: "2.3.3+2" sqflite_common: dependency: transitive description: name: sqflite_common - sha256: bfd6973aaeeb93475bc0d875ac9aefddf7965ef22ce09790eb963992ffc5183f + sha256: "2d8e607db72e9cb7748c9c6e739e2c9618320a5517de693d5a24609c4671b1a4" url: "https://pub.dev" source: hosted - version: "2.4.2+2" + version: "2.5.4+4" stack_trace: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" stream_transform: dependency: transitive description: @@ -873,18 +902,18 @@ packages: dependency: "direct main" description: name: swipeable_tile - sha256: "0a59b847cd3132cbe0da6ffd3951e570968cc68a957f9d290dfcddabda946172" + sha256: "6312b59b14c5ff22bf91aafa64d7e74df5f2322cb206db4c34d9d9946e3e44d4" url: "https://pub.dev" source: hosted - version: "2.0.0+3" + version: "2.0.1" synchronized: dependency: transitive description: name: synchronized - sha256: "33b31b6beb98100bf9add464a36a8dd03eb10c7a8cf15aeec535e9b054aaf04b" + sha256: "69fe30f3a8b04a0be0c15ae6490fc859a78ef4c43ae2dd5e8a623d45bfcf9225" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.3.0+3" term_glyph: dependency: transitive description: @@ -897,10 +926,10 @@ packages: dependency: transitive description: name: test_api - sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.dev" source: hosted - version: "0.5.1" + version: "0.7.2" timing: dependency: transitive description: @@ -913,82 +942,82 @@ packages: dependency: transitive description: name: typed_data - sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5" + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted - version: "1.3.1" + version: "1.3.2" url_launcher: dependency: "direct main" description: name: url_launcher - sha256: "698fa0b4392effdc73e9e184403b627362eb5fbf904483ac9defbb1c2191d809" + sha256: "21b704ce5fa560ea9f3b525b43601c678728ba46725bab9b01187b4831377ed3" url: "https://pub.dev" source: hosted - version: "6.1.8" + version: "6.3.0" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: "3e2f6dfd2c7d9cd123296cab8ef66cfc2c1a13f5845f42c7a0f365690a8a7dd1" + sha256: e35a698ac302dd68e41f73250bd9517fe3ab5fa4f18fe4647a0872db61bacbab url: "https://pub.dev" source: hosted - version: "6.0.23" + version: "6.3.10" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: bb328b24d3bccc20bdf1024a0990ac4f869d57663660de9c936fb8c043edefe3 + sha256: e43b677296fadce447e987a2f519dcf5f6d1e527dc35d01ffab4fff5b8a7063e url: "https://pub.dev" source: hosted - version: "6.0.18" + version: "6.3.1" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: "318c42cba924e18180c029be69caf0a1a710191b9ec49bb42b5998fdcccee3cc" + sha256: e2b9622b4007f97f504cd64c0128309dfb978ae66adbe944125ed9e1750f06af url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.2.0" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: "41988b55570df53b3dd2a7fc90c76756a963de6a8c5f8e113330cb35992e2094" + sha256: "769549c999acdb42b8bcfa7c43d72bf79a382ca7441ab18a808e101149daf672" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.2.1" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: "4eae912628763eb48fc214522e58e942fd16ce195407dbf45638239523c759a6" + sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.3.2" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "44d79408ce9f07052095ef1f9a693c258d6373dc3944249374e30eff7219ccb0" + sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e" url: "https://pub.dev" source: hosted - version: "2.0.14" + version: "2.3.3" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: b6217370f8eb1fd85c8890c539f5a639a01ab209a36db82c921ebeacefc7a615 + sha256: "49c10f879746271804767cb45551ec5592cdab00ee105c06dddde1a98f73b185" url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.1.2" uuid: dependency: transitive description: name: uuid - sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "3.0.7" + version: "4.5.1" vector_math: dependency: transitive description: @@ -1001,58 +1030,82 @@ packages: dependency: "direct dev" description: name: very_good_analysis - sha256: "4815adc7ded57657038d2bb2a7f332c50e3c8152f7d3c6acf8f6b7c0cc81e5e2" + sha256: "1fb637c0022034b1f19ea2acb42a3603cbd8314a470646a59a2fb01f5f3a8629" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "6.0.0" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" + url: "https://pub.dev" + source: hosted + version: "14.2.5" watcher: 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: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb + url: "https://pub.dev" + source: hosted + version: "1.1.0" + web_socket: + dependency: transitive + description: + name: web_socket + sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" + url: "https://pub.dev" + source: hosted + version: "0.1.6" web_socket_channel: dependency: transitive description: name: web_socket_channel - sha256: ca49c0bc209c687b887f30527fb6a9d80040b072cc2990f34b9bec3e7663101b + sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f" url: "https://pub.dev" source: hosted - version: "2.3.0" + version: "3.0.1" win32: dependency: transitive description: name: win32 - sha256: c9ebe7ee4ab0c2194e65d3a07d8c54c5d00bb001b76081c4a04cdb8448b59e46 + sha256: "68d1e89a91ed61ad9c370f9f8b6effed9ae5e0ede22a270bdfa6daf79fc2290a" url: "https://pub.dev" source: hosted - version: "3.1.3" + version: "5.5.4" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: bd512f03919aac5f1313eb8249f223bacf4927031bf60b02601f81f687689e86 + sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d url: "https://pub.dev" source: hosted - version: "0.2.0+3" + version: "1.0.4" xml: dependency: "direct main" description: name: xml - sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5" + sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226 url: "https://pub.dev" source: hosted - version: "6.2.2" + version: "6.5.0" yaml: dependency: transitive description: name: yaml - sha256: "23812a9b125b48d4007117254bca50abb6c712352927eece9e155207b1db2370" + sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.1.2" sdks: - dart: ">=3.0.0-0 <4.0.0" - flutter: ">=3.3.0" + dart: ">=3.5.0 <4.0.0" + flutter: ">=3.24.0" diff --git a/pubspec.yaml b/pubspec.yaml index 8248c18..2c6c178 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,48 +1,48 @@ name: anitrack description: An anime and manga tracker -publish_to: 'none' +publish_to: "none" version: 0.1.3+2011 environment: - sdk: '>=2.18.4 <3.0.0' + sdk: ">=3.0.0 <4.0.0" dependencies: - archive: ^3.3.7 - bloc: ^8.1.0 + archive: ^3.6.1 + bloc: ^8.1.4 bottom_bar: ^2.0.3 - cached_network_image: ^3.2.3 - collection: ^1.17.0 - cupertino_icons: ^1.0.2 - file_picker: ^5.2.8 + cached_network_image: ^3.4.1 + collection: ^1.18.0 + cupertino_icons: ^1.0.8 + file_picker: ^8.1.2 flutter: sdk: flutter - flutter_bloc: ^8.1.1 - fluttertoast: ^8.2.2 - freezed_annotation: 2.1.0 - get_it: ^7.2.0 - jikan_api: ^2.0.0 - json_annotation: 4.6.0 - path: ^1.8.2 - permission_handler: ^10.4.3 - slang: 3.19.0 - slang_flutter: 3.19.0 - sqflite: ^2.2.4+1 - swipeable_tile: ^2.0.0+3 - url_launcher: ^6.1.8 - xml: ^6.2.2 + flutter_bloc: ^8.1.6 + fluttertoast: ^8.2.8 + freezed_annotation: ^2.4.4 + get_it: ^8.0.0 + jikan_api: ^2.2.1 + json_annotation: ^4.9.0 + path: ^1.9.0 + permission_handler: ^11.3.1 + slang: ^3.31.2 + slang_flutter: ^3.31.0 + sqflite: ^2.3.3+2 + swipeable_tile: ^2.0.1 + url_launcher: ^6.3.0 + xml: ^6.5.0 dev_dependencies: - build_runner: ^2.1.11 - flutter_launcher_icons: ^0.11.0 - flutter_lints: ^2.0.0 - flutter_oss_licenses: ^2.0.1 + build_runner: ^2.4.12 + flutter_launcher_icons: ^0.14.1 + flutter_lints: ^5.0.0 + flutter_oss_licenses: ^3.0.2 flutter_test: sdk: flutter - freezed: ^2.1.0+1 - json_serializable: ^6.3.1 - slang_build_runner: 3.19.0 - very_good_analysis: ^3.0.1 + freezed: ^2.5.7 + json_serializable: ^6.8.0 + slang_build_runner: ^3.31.0 + very_good_analysis: ^6.0.0 flutter: uses-material-design: true