diff --git a/examples/mirai_gallery/lib/app/example/example_screen.freezed.dart b/examples/mirai_gallery/lib/app/example/example_screen.freezed.dart index 7a3de3b6..d3ec0faf 100644 --- a/examples/mirai_gallery/lib/app/example/example_screen.freezed.dart +++ b/examples/mirai_gallery/lib/app/example/example_screen.freezed.dart @@ -62,22 +62,22 @@ class _$ExampleScreenCopyWithImpl<$Res, $Val extends ExampleScreen> } /// @nodoc -abstract class _$$_ExampleScreenCopyWith<$Res> +abstract class _$$ExampleScreenImplCopyWith<$Res> implements $ExampleScreenCopyWith<$Res> { - factory _$$_ExampleScreenCopyWith( - _$_ExampleScreen value, $Res Function(_$_ExampleScreen) then) = - __$$_ExampleScreenCopyWithImpl<$Res>; + factory _$$ExampleScreenImplCopyWith( + _$ExampleScreenImpl value, $Res Function(_$ExampleScreenImpl) then) = + __$$ExampleScreenImplCopyWithImpl<$Res>; @override @useResult $Res call({String assetPath}); } /// @nodoc -class __$$_ExampleScreenCopyWithImpl<$Res> - extends _$ExampleScreenCopyWithImpl<$Res, _$_ExampleScreen> - implements _$$_ExampleScreenCopyWith<$Res> { - __$$_ExampleScreenCopyWithImpl( - _$_ExampleScreen _value, $Res Function(_$_ExampleScreen) _then) +class __$$ExampleScreenImplCopyWithImpl<$Res> + extends _$ExampleScreenCopyWithImpl<$Res, _$ExampleScreenImpl> + implements _$$ExampleScreenImplCopyWith<$Res> { + __$$ExampleScreenImplCopyWithImpl( + _$ExampleScreenImpl _value, $Res Function(_$ExampleScreenImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -85,7 +85,7 @@ class __$$_ExampleScreenCopyWithImpl<$Res> $Res call({ Object? assetPath = null, }) { - return _then(_$_ExampleScreen( + return _then(_$ExampleScreenImpl( assetPath: null == assetPath ? _value.assetPath : assetPath // ignore: cast_nullable_to_non_nullable @@ -96,11 +96,11 @@ class __$$_ExampleScreenCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_ExampleScreen implements _ExampleScreen { - const _$_ExampleScreen({required this.assetPath}); +class _$ExampleScreenImpl implements _ExampleScreen { + const _$ExampleScreenImpl({required this.assetPath}); - factory _$_ExampleScreen.fromJson(Map json) => - _$$_ExampleScreenFromJson(json); + factory _$ExampleScreenImpl.fromJson(Map json) => + _$$ExampleScreenImplFromJson(json); @override final String assetPath; @@ -114,7 +114,7 @@ class _$_ExampleScreen implements _ExampleScreen { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_ExampleScreen && + other is _$ExampleScreenImpl && (identical(other.assetPath, assetPath) || other.assetPath == assetPath)); } @@ -126,12 +126,12 @@ class _$_ExampleScreen implements _ExampleScreen { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_ExampleScreenCopyWith<_$_ExampleScreen> get copyWith => - __$$_ExampleScreenCopyWithImpl<_$_ExampleScreen>(this, _$identity); + _$$ExampleScreenImplCopyWith<_$ExampleScreenImpl> get copyWith => + __$$ExampleScreenImplCopyWithImpl<_$ExampleScreenImpl>(this, _$identity); @override Map toJson() { - return _$$_ExampleScreenToJson( + return _$$ExampleScreenImplToJson( this, ); } @@ -139,15 +139,15 @@ class _$_ExampleScreen implements _ExampleScreen { abstract class _ExampleScreen implements ExampleScreen { const factory _ExampleScreen({required final String assetPath}) = - _$_ExampleScreen; + _$ExampleScreenImpl; factory _ExampleScreen.fromJson(Map json) = - _$_ExampleScreen.fromJson; + _$ExampleScreenImpl.fromJson; @override String get assetPath; @override @JsonKey(ignore: true) - _$$_ExampleScreenCopyWith<_$_ExampleScreen> get copyWith => + _$$ExampleScreenImplCopyWith<_$ExampleScreenImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/examples/mirai_gallery/lib/app/example/example_screen.g.dart b/examples/mirai_gallery/lib/app/example/example_screen.g.dart index e05d6bc5..49fa1de9 100644 --- a/examples/mirai_gallery/lib/app/example/example_screen.g.dart +++ b/examples/mirai_gallery/lib/app/example/example_screen.g.dart @@ -6,12 +6,12 @@ part of 'example_screen.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_ExampleScreen _$$_ExampleScreenFromJson(Map json) => - _$_ExampleScreen( +_$ExampleScreenImpl _$$ExampleScreenImplFromJson(Map json) => + _$ExampleScreenImpl( assetPath: json['assetPath'] as String, ); -Map _$$_ExampleScreenToJson(_$_ExampleScreen instance) => +Map _$$ExampleScreenImplToJson(_$ExampleScreenImpl instance) => { 'assetPath': instance.assetPath, }; diff --git a/examples/mirai_gallery/pubspec.lock b/examples/mirai_gallery/pubspec.lock index 4bd5f00b..1459b918 100644 --- a/examples/mirai_gallery/pubspec.lock +++ b/examples/mirai_gallery/pubspec.lock @@ -69,18 +69,18 @@ packages: dependency: transitive description: name: build_daemon - sha256: "5f02d73eb2ba16483e693f80bee4f088563a820e47d1027d4cdfe62b5bb43e65" + sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1" url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "4.0.1" build_resolvers: dependency: transitive description: name: build_resolvers - sha256: d912852cce27c9e80a93603db721c267716894462e7033165178b91138587972 + sha256: "64e12b0521812d1684b1917bc80945625391cb9bdd4312536b1d69dcb6133ed8" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.1" build_runner: dependency: "direct dev" description: @@ -93,10 +93,10 @@ packages: dependency: transitive description: name: build_runner_core - sha256: "6d6ee4276b1c5f34f21fdf39425202712d2be82019983d52f351c94aafbc2c41" + sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185 url: "https://pub.dev" source: hosted - version: "7.2.10" + version: "7.2.11" built_collection: dependency: transitive description: @@ -109,10 +109,10 @@ packages: dependency: transitive description: name: built_value - sha256: ff627b645b28fb8bdb69e645f910c2458fd6b65f6585c3a53e0626024897dedf + sha256: "69acb7007eb2a31dc901512bfe0f7b767168be34cb734835d54c070bfa74c1b2" url: "https://pub.dev" source: hosted - version: "8.6.2" + version: "8.8.0" characters: dependency: transitive description: @@ -141,18 +141,18 @@ packages: dependency: transitive description: name: code_builder - sha256: "315a598c7fbe77f22de1c9da7cfd6fd21816312f16ffa124453b4fc679e540f1" + sha256: b2151ce26a06171005b379ecff6e08d34c470180ffe16b8e14b6d52be292b55f url: "https://pub.dev" source: hosted - version: "4.6.0" + version: "4.8.0" collection: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" convert: dependency: transitive description: @@ -181,18 +181,18 @@ packages: dependency: transitive description: name: dart_style - sha256: "1efa911ca7086affd35f463ca2fc1799584fb6aa89883cf0af8e3664d6a02d55" + sha256: "40ae61a5d43feea6d24bd22c0537a6629db858963b99b4bc1c3db80676f32368" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.3.4" dio: dependency: transitive description: name: dio - sha256: ce75a1b40947fea0a0e16ce73337122a86762e38b982e1ccb909daa3b9bc4197 + sha256: "01870acd87986f768e0c09cc4d7a19a59d814af7b34cbeb0b437d2c33bdfea4c" url: "https://pub.dev" source: hosted - version: "5.3.2" + version: "5.3.4" fake_async: dependency: transitive description: @@ -247,10 +247,10 @@ packages: dependency: "direct dev" description: name: freezed - sha256: "83462cfc33dc9680533a7f3a4a6ab60aa94f287db5f4ee6511248c22833c497f" + sha256: "21bf2825311de65501d22e563e3d7605dff57fb5e6da982db785ae5372ff018a" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.4.5" freezed_annotation: dependency: "direct main" description: @@ -375,10 +375,10 @@ packages: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.10.0" mime: dependency: transitive description: @@ -436,10 +436,10 @@ packages: dependency: transitive description: name: plugin_platform_interface - sha256: da3fdfeccc4d4ff2da8f8c556704c08f912542c5fb3cf2233ed75372384a034d + sha256: f4f88d4a900933e7267e2b353594774fc0d07fb072b47eedcd5b54e1ea3269f8 url: "https://pub.dev" source: hosted - version: "2.1.6" + version: "2.1.7" pool: dependency: transitive description: @@ -452,10 +452,10 @@ packages: dependency: transitive description: name: provider - sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f + sha256: "9a96a0a19b594dbc5bf0f1f27d2bc67d5f95957359b461cd9feb44ed6ae75096" url: "https://pub.dev" source: hosted - version: "6.0.5" + version: "6.1.1" pub_semver: dependency: transitive description: @@ -521,18 +521,18 @@ packages: 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: @@ -561,10 +561,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.6.1" timing: dependency: transitive description: @@ -601,10 +601,10 @@ packages: dependency: transitive description: name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "0.3.0" web_socket_channel: dependency: transitive description: @@ -617,34 +617,34 @@ packages: dependency: transitive description: name: webview_flutter - sha256: "82f6787d5df55907aa01e49bd9644f4ed1cc82af7a8257dd9947815959d2e755" + sha256: "42393b4492e629aa3a88618530a4a00de8bb46e50e7b3993fedbfdc5352f0dbf" url: "https://pub.dev" source: hosted - version: "4.2.4" + version: "4.4.2" webview_flutter_android: dependency: transitive description: name: webview_flutter_android - sha256: "9427774649fd3c8b7ff53523051395d13aed2ca355822b822e6493d79f5fc05a" + sha256: "8326ee235f87605a2bfc444a4abc897f4abc78d83f054ba7d3d1074ce82b4fbf" url: "https://pub.dev" source: hosted - version: "3.10.0" + version: "3.12.1" webview_flutter_platform_interface: dependency: transitive description: name: webview_flutter_platform_interface - sha256: "6d9213c65f1060116757a7c473247c60f3f7f332cac33dc417c9e362a9a13e4f" + sha256: adb8c03c2be231bea5a8ed0e9039e9d18dbb049603376beaefa15393ede468a5 url: "https://pub.dev" source: hosted - version: "2.6.0" + version: "2.7.0" webview_flutter_wkwebview: dependency: transitive description: name: webview_flutter_wkwebview - sha256: d2f7241849582da80b79acb03bb936422412ce5c0c79fb5f6a1de5421a5aecc4 + sha256: accdaaa49a2aca2dc3c3230907988954cdd23fed0a19525d6c9789d380f4dc76 url: "https://pub.dev" source: hosted - version: "3.7.4" + version: "3.9.4" yaml: dependency: transitive description: @@ -654,5 +654,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.1.0-185.0.dev <4.0.0" - flutter: ">=3.7.0" \ No newline at end of file + dart: ">=3.2.0-194.0.dev <4.0.0" + flutter: ">=3.10.0" diff --git a/packages/mirai_webview/lib/parsers/mirai_webview/mirai_webview.freezed.dart b/packages/mirai_webview/lib/parsers/mirai_webview/mirai_webview.freezed.dart index 419ed802..4e956d39 100644 --- a/packages/mirai_webview/lib/parsers/mirai_webview/mirai_webview.freezed.dart +++ b/packages/mirai_webview/lib/parsers/mirai_webview/mirai_webview.freezed.dart @@ -91,11 +91,11 @@ class _$MiraiWebViewCopyWithImpl<$Res, $Val extends MiraiWebView> } /// @nodoc -abstract class _$$_MiraiWebViewCopyWith<$Res> +abstract class _$$MiraiWebViewImplCopyWith<$Res> implements $MiraiWebViewCopyWith<$Res> { - factory _$$_MiraiWebViewCopyWith( - _$_MiraiWebView value, $Res Function(_$_MiraiWebView) then) = - __$$_MiraiWebViewCopyWithImpl<$Res>; + factory _$$MiraiWebViewImplCopyWith( + _$MiraiWebViewImpl value, $Res Function(_$MiraiWebViewImpl) then) = + __$$MiraiWebViewImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -107,11 +107,11 @@ abstract class _$$_MiraiWebViewCopyWith<$Res> } /// @nodoc -class __$$_MiraiWebViewCopyWithImpl<$Res> - extends _$MiraiWebViewCopyWithImpl<$Res, _$_MiraiWebView> - implements _$$_MiraiWebViewCopyWith<$Res> { - __$$_MiraiWebViewCopyWithImpl( - _$_MiraiWebView _value, $Res Function(_$_MiraiWebView) _then) +class __$$MiraiWebViewImplCopyWithImpl<$Res> + extends _$MiraiWebViewCopyWithImpl<$Res, _$MiraiWebViewImpl> + implements _$$MiraiWebViewImplCopyWith<$Res> { + __$$MiraiWebViewImplCopyWithImpl( + _$MiraiWebViewImpl _value, $Res Function(_$MiraiWebViewImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -123,7 +123,7 @@ class __$$_MiraiWebViewCopyWithImpl<$Res> Object? userAgent = freezed, Object? enableZoom = null, }) { - return _then(_$_MiraiWebView( + return _then(_$MiraiWebViewImpl( url: null == url ? _value.url : url // ignore: cast_nullable_to_non_nullable @@ -150,16 +150,16 @@ class __$$_MiraiWebViewCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_MiraiWebView implements _MiraiWebView { - const _$_MiraiWebView( +class _$MiraiWebViewImpl implements _MiraiWebView { + const _$MiraiWebViewImpl( {required this.url, this.javaScriptMode = JavaScriptMode.unrestricted, this.backgroundColor = "#000000", this.userAgent, this.enableZoom = false}); - factory _$_MiraiWebView.fromJson(Map json) => - _$$_MiraiWebViewFromJson(json); + factory _$MiraiWebViewImpl.fromJson(Map json) => + _$$MiraiWebViewImplFromJson(json); @override final String url; @@ -184,7 +184,7 @@ class _$_MiraiWebView implements _MiraiWebView { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_MiraiWebView && + other is _$MiraiWebViewImpl && (identical(other.url, url) || other.url == url) && (identical(other.javaScriptMode, javaScriptMode) || other.javaScriptMode == javaScriptMode) && @@ -204,12 +204,12 @@ class _$_MiraiWebView implements _MiraiWebView { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_MiraiWebViewCopyWith<_$_MiraiWebView> get copyWith => - __$$_MiraiWebViewCopyWithImpl<_$_MiraiWebView>(this, _$identity); + _$$MiraiWebViewImplCopyWith<_$MiraiWebViewImpl> get copyWith => + __$$MiraiWebViewImplCopyWithImpl<_$MiraiWebViewImpl>(this, _$identity); @override Map toJson() { - return _$$_MiraiWebViewToJson( + return _$$MiraiWebViewImplToJson( this, ); } @@ -221,10 +221,10 @@ abstract class _MiraiWebView implements MiraiWebView { final JavaScriptMode javaScriptMode, final String backgroundColor, final String? userAgent, - final bool enableZoom}) = _$_MiraiWebView; + final bool enableZoom}) = _$MiraiWebViewImpl; factory _MiraiWebView.fromJson(Map json) = - _$_MiraiWebView.fromJson; + _$MiraiWebViewImpl.fromJson; @override String get url; @@ -238,6 +238,6 @@ abstract class _MiraiWebView implements MiraiWebView { bool get enableZoom; @override @JsonKey(ignore: true) - _$$_MiraiWebViewCopyWith<_$_MiraiWebView> get copyWith => + _$$MiraiWebViewImplCopyWith<_$MiraiWebViewImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/packages/mirai_webview/lib/parsers/mirai_webview/mirai_webview.g.dart b/packages/mirai_webview/lib/parsers/mirai_webview/mirai_webview.g.dart index 3ef18f8e..a1f6c50d 100644 --- a/packages/mirai_webview/lib/parsers/mirai_webview/mirai_webview.g.dart +++ b/packages/mirai_webview/lib/parsers/mirai_webview/mirai_webview.g.dart @@ -6,8 +6,8 @@ part of 'mirai_webview.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_MiraiWebView _$$_MiraiWebViewFromJson(Map json) => - _$_MiraiWebView( +_$MiraiWebViewImpl _$$MiraiWebViewImplFromJson(Map json) => + _$MiraiWebViewImpl( url: json['url'] as String, javaScriptMode: $enumDecodeNullable( _$JavaScriptModeEnumMap, json['javaScriptMode']) ?? @@ -17,7 +17,7 @@ _$_MiraiWebView _$$_MiraiWebViewFromJson(Map json) => enableZoom: json['enableZoom'] as bool? ?? false, ); -Map _$$_MiraiWebViewToJson(_$_MiraiWebView instance) => +Map _$$MiraiWebViewImplToJson(_$MiraiWebViewImpl instance) => { 'url': instance.url, 'javaScriptMode': _$JavaScriptModeEnumMap[instance.javaScriptMode]!,