From 0ea7a90382c2a6b8794026ef940d6534704f7ebd Mon Sep 17 00:00:00 2001 From: LTphantom Date: Mon, 20 May 2024 16:24:47 -0700 Subject: [PATCH] Regenerated mock files (#1100) * Regenerated mock files * Updated to GenerateNiceMocks --- .../test/mobile_ads_test.mocks.dart | 594 +++++++++++------- .../ump/consent_form_impl_test.mocks.dart | 52 +- .../test/ump/consent_form_test.dart | 2 +- .../test/ump/consent_form_test.mocks.dart | 29 +- .../consent_information_impl_test.mocks.dart | 63 +- 5 files changed, 481 insertions(+), 259 deletions(-) diff --git a/packages/google_mobile_ads/test/mobile_ads_test.mocks.dart b/packages/google_mobile_ads/test/mobile_ads_test.mocks.dart index c10ad472c..9a55ce9e5 100644 --- a/packages/google_mobile_ads/test/mobile_ads_test.mocks.dart +++ b/packages/google_mobile_ads/test/mobile_ads_test.mocks.dart @@ -1,22 +1,23 @@ -// Mocks generated by Mockito 5.3.2 from annotations -// in google_mobile_ads/example/ios/.symlinks/plugins/google_mobile_ads/test/mobile_ads_test.dart. +// Mocks generated by Mockito 5.4.4 from annotations +// in google_mobile_ads/test/mobile_ads_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes -import 'dart:async' as _i10; -import 'dart:typed_data' as _i11; +import 'dart:async' as _i9; +import 'dart:typed_data' as _i10; import 'dart:ui' as _i3; import 'package:flutter/services.dart' as _i4; -import 'package:google_mobile_ads/src/ad_containers.dart' as _i7; -import 'package:google_mobile_ads/src/ad_inspector_containers.dart' as _i14; -import 'package:google_mobile_ads/src/ad_instance_manager.dart' as _i13; +import 'package:google_mobile_ads/src/ad_containers.dart' as _i13; +import 'package:google_mobile_ads/src/ad_inspector_containers.dart' as _i15; +import 'package:google_mobile_ads/src/ad_instance_manager.dart' as _i12; import 'package:google_mobile_ads/src/mobile_ads.dart' as _i6; -import 'package:google_mobile_ads/src/request_configuration.dart' as _i8; +import 'package:google_mobile_ads/src/request_configuration.dart' as _i7; import 'package:google_mobile_ads/src/webview_controller_util.dart' as _i5; import 'package:mockito/mockito.dart' as _i1; -import 'package:webview_flutter/src/navigation_delegate.dart' as _i12; -import 'package:webview_flutter/webview_flutter.dart' as _i9; +import 'package:mockito/src/dummies.dart' as _i14; +import 'package:webview_flutter/src/navigation_delegate.dart' as _i11; +import 'package:webview_flutter/webview_flutter.dart' as _i8; import 'package:webview_flutter_platform_interface/webview_flutter_platform_interface.dart' as _i2; @@ -24,6 +25,8 @@ import 'package:webview_flutter_platform_interface/webview_flutter_platform_inte // ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_setters_without_getters // ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use +// ignore_for_file: deprecated_member_use_from_same_package // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: prefer_const_constructors @@ -94,19 +97,9 @@ class _FakeInitializationStatus_5 extends _i1.SmartFake ); } -class _FakeAdSize_6 extends _i1.SmartFake implements _i7.AdSize { - _FakeAdSize_6( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeRequestConfiguration_7 extends _i1.SmartFake - implements _i8.RequestConfiguration { - _FakeRequestConfiguration_7( +class _FakeRequestConfiguration_6 extends _i1.SmartFake + implements _i7.RequestConfiguration { + _FakeRequestConfiguration_6( Object parent, Invocation parentInvocation, ) : super( @@ -118,7 +111,7 @@ class _FakeRequestConfiguration_7 extends _i1.SmartFake /// A class which mocks [WebViewController]. /// /// See the documentation for Mockito's code generation for more information. -class MockWebViewController extends _i1.Mock implements _i9.WebViewController { +class MockWebViewController extends _i1.Mock implements _i8.WebViewController { MockWebViewController() { _i1.throwOnMissingStub(this); } @@ -131,26 +124,29 @@ class MockWebViewController extends _i1.Mock implements _i9.WebViewController { Invocation.getter(#platform), ), ) as _i2.PlatformWebViewController); + @override - _i10.Future loadFile(String? absoluteFilePath) => (super.noSuchMethod( + _i9.Future loadFile(String? absoluteFilePath) => (super.noSuchMethod( Invocation.method( #loadFile, [absoluteFilePath], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadFlutterAsset(String? key) => (super.noSuchMethod( + _i9.Future loadFlutterAsset(String? key) => (super.noSuchMethod( Invocation.method( #loadFlutterAsset, [key], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadHtmlString( + _i9.Future loadHtmlString( String? html, { String? baseUrl, }) => @@ -160,15 +156,16 @@ class MockWebViewController extends _i1.Mock implements _i9.WebViewController { [html], {#baseUrl: baseUrl}, ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadRequest( + _i9.Future loadRequest( Uri? uri, { _i2.LoadRequestMethod? method = _i2.LoadRequestMethod.get, Map? headers = const {}, - _i11.Uint8List? body, + _i10.Uint8List? body, }) => (super.noSuchMethod( Invocation.method( @@ -180,114 +177,126 @@ class MockWebViewController extends _i1.Mock implements _i9.WebViewController { #body: body, }, ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future currentUrl() => (super.noSuchMethod( + _i9.Future currentUrl() => (super.noSuchMethod( Invocation.method( #currentUrl, [], ), - returnValue: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future canGoBack() => (super.noSuchMethod( + _i9.Future canGoBack() => (super.noSuchMethod( Invocation.method( #canGoBack, [], ), - returnValue: _i10.Future.value(false), - ) as _i10.Future); + returnValue: _i9.Future.value(false), + ) as _i9.Future); + @override - _i10.Future canGoForward() => (super.noSuchMethod( + _i9.Future canGoForward() => (super.noSuchMethod( Invocation.method( #canGoForward, [], ), - returnValue: _i10.Future.value(false), - ) as _i10.Future); + returnValue: _i9.Future.value(false), + ) as _i9.Future); + @override - _i10.Future goBack() => (super.noSuchMethod( + _i9.Future goBack() => (super.noSuchMethod( Invocation.method( #goBack, [], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future goForward() => (super.noSuchMethod( + _i9.Future goForward() => (super.noSuchMethod( Invocation.method( #goForward, [], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future reload() => (super.noSuchMethod( + _i9.Future reload() => (super.noSuchMethod( Invocation.method( #reload, [], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future setNavigationDelegate(_i12.NavigationDelegate? delegate) => + _i9.Future setNavigationDelegate(_i11.NavigationDelegate? delegate) => (super.noSuchMethod( Invocation.method( #setNavigationDelegate, [delegate], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future clearCache() => (super.noSuchMethod( + _i9.Future clearCache() => (super.noSuchMethod( Invocation.method( #clearCache, [], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future clearLocalStorage() => (super.noSuchMethod( + _i9.Future clearLocalStorage() => (super.noSuchMethod( Invocation.method( #clearLocalStorage, [], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future runJavaScript(String? javaScript) => (super.noSuchMethod( + _i9.Future runJavaScript(String? javaScript) => (super.noSuchMethod( Invocation.method( #runJavaScript, [javaScript], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future runJavaScriptReturningResult(String? javaScript) => + _i9.Future runJavaScriptReturningResult(String? javaScript) => (super.noSuchMethod( Invocation.method( #runJavaScriptReturningResult, [javaScript], ), - returnValue: _i10.Future.value(_FakeObject_1( + returnValue: _i9.Future.value(_FakeObject_1( this, Invocation.method( #runJavaScriptReturningResult, [javaScript], ), )), - ) as _i10.Future); + ) as _i9.Future); + @override - _i10.Future addJavaScriptChannel( + _i9.Future addJavaScriptChannel( String? name, { required void Function(_i2.JavaScriptMessage)? onMessageReceived, }) => @@ -297,29 +306,32 @@ class MockWebViewController extends _i1.Mock implements _i9.WebViewController { [name], {#onMessageReceived: onMessageReceived}, ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future removeJavaScriptChannel(String? javaScriptChannelName) => + _i9.Future removeJavaScriptChannel(String? javaScriptChannelName) => (super.noSuchMethod( Invocation.method( #removeJavaScriptChannel, [javaScriptChannelName], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future getTitle() => (super.noSuchMethod( + _i9.Future getTitle() => (super.noSuchMethod( Invocation.method( #getTitle, [], ), - returnValue: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future scrollTo( + _i9.Future scrollTo( int? x, int? y, ) => @@ -331,11 +343,12 @@ class MockWebViewController extends _i1.Mock implements _i9.WebViewController { y, ], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future scrollBy( + _i9.Future scrollBy( int? x, int? y, ) => @@ -347,66 +360,143 @@ class MockWebViewController extends _i1.Mock implements _i9.WebViewController { y, ], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future<_i3.Offset> getScrollPosition() => (super.noSuchMethod( + _i9.Future<_i3.Offset> getScrollPosition() => (super.noSuchMethod( Invocation.method( #getScrollPosition, [], ), - returnValue: _i10.Future<_i3.Offset>.value(_FakeOffset_2( + returnValue: _i9.Future<_i3.Offset>.value(_FakeOffset_2( this, Invocation.method( #getScrollPosition, [], ), )), - ) as _i10.Future<_i3.Offset>); + ) as _i9.Future<_i3.Offset>); + @override - _i10.Future enableZoom(bool? enabled) => (super.noSuchMethod( + _i9.Future enableZoom(bool? enabled) => (super.noSuchMethod( Invocation.method( #enableZoom, [enabled], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future setBackgroundColor(_i3.Color? color) => (super.noSuchMethod( + _i9.Future setBackgroundColor(_i3.Color? color) => (super.noSuchMethod( Invocation.method( #setBackgroundColor, [color], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future setJavaScriptMode(_i2.JavaScriptMode? javaScriptMode) => + _i9.Future setJavaScriptMode(_i2.JavaScriptMode? javaScriptMode) => (super.noSuchMethod( Invocation.method( #setJavaScriptMode, [javaScriptMode], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future setUserAgent(String? userAgent) => (super.noSuchMethod( + _i9.Future setUserAgent(String? userAgent) => (super.noSuchMethod( Invocation.method( #setUserAgent, [userAgent], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + + @override + _i9.Future setOnConsoleMessage( + void Function(_i2.JavaScriptConsoleMessage)? onConsoleMessage) => + (super.noSuchMethod( + Invocation.method( + #setOnConsoleMessage, + [onConsoleMessage], + ), + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + + @override + _i9.Future setOnJavaScriptAlertDialog( + _i9.Future Function(_i2.JavaScriptAlertDialogRequest)? + onJavaScriptAlertDialog) => + (super.noSuchMethod( + Invocation.method( + #setOnJavaScriptAlertDialog, + [onJavaScriptAlertDialog], + ), + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + + @override + _i9.Future setOnJavaScriptConfirmDialog( + _i9.Future Function(_i2.JavaScriptConfirmDialogRequest)? + onJavaScriptConfirmDialog) => + (super.noSuchMethod( + Invocation.method( + #setOnJavaScriptConfirmDialog, + [onJavaScriptConfirmDialog], + ), + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + + @override + _i9.Future setOnJavaScriptTextInputDialog( + _i9.Future Function(_i2.JavaScriptTextInputDialogRequest)? + onJavaScriptTextInputDialog) => + (super.noSuchMethod( + Invocation.method( + #setOnJavaScriptTextInputDialog, + [onJavaScriptTextInputDialog], + ), + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + + @override + _i9.Future getUserAgent() => (super.noSuchMethod( + Invocation.method( + #getUserAgent, + [], + ), + returnValue: _i9.Future.value(), + ) as _i9.Future); + + @override + _i9.Future setOnScrollPositionChange( + void Function(_i2.ScrollPositionChange)? onScrollPositionChange) => + (super.noSuchMethod( + Invocation.method( + #setOnScrollPositionChange, + [onScrollPositionChange], + ), + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); } /// A class which mocks [AdInstanceManager]. /// /// See the documentation for Mockito's code generation for more information. -class MockAdInstanceManager extends _i1.Mock implements _i13.AdInstanceManager { +class MockAdInstanceManager extends _i1.Mock implements _i12.AdInstanceManager { MockAdInstanceManager() { _i1.throwOnMissingStub(this); } @@ -419,6 +509,7 @@ class MockAdInstanceManager extends _i1.Mock implements _i13.AdInstanceManager { Invocation.getter(#channel), ), ) as _i4.MethodChannel); + @override _i5.WebViewControllerUtil get webViewControllerUtil => (super.noSuchMethod( Invocation.getter(#webViewControllerUtil), @@ -427,13 +518,14 @@ class MockAdInstanceManager extends _i1.Mock implements _i13.AdInstanceManager { Invocation.getter(#webViewControllerUtil), ), ) as _i5.WebViewControllerUtil); + @override - _i10.Future<_i6.InitializationStatus> initialize() => (super.noSuchMethod( + _i9.Future<_i6.InitializationStatus> initialize() => (super.noSuchMethod( Invocation.method( #initialize, [], ), - returnValue: _i10.Future<_i6.InitializationStatus>.value( + returnValue: _i9.Future<_i6.InitializationStatus>.value( _FakeInitializationStatus_5( this, Invocation.method( @@ -441,31 +533,29 @@ class MockAdInstanceManager extends _i1.Mock implements _i13.AdInstanceManager { [], ), )), - ) as _i10.Future<_i6.InitializationStatus>); + ) as _i9.Future<_i6.InitializationStatus>); + @override - _i10.Future<_i7.AdSize> getAdSize(_i7.Ad? ad) => (super.noSuchMethod( + _i9.Future<_i13.AdSize?> getAdSize(_i13.Ad? ad) => (super.noSuchMethod( Invocation.method( #getAdSize, [ad], ), - returnValue: _i10.Future<_i7.AdSize>.value(_FakeAdSize_6( - this, - Invocation.method( - #getAdSize, - [ad], - ), - )), - ) as _i10.Future<_i7.AdSize>); + returnValue: _i9.Future<_i13.AdSize?>.value(), + ) as _i9.Future<_i13.AdSize?>); + @override - _i7.Ad? adFor(int? adId) => (super.noSuchMethod(Invocation.method( + _i13.Ad? adFor(int? adId) => (super.noSuchMethod(Invocation.method( #adFor, [adId], - )) as _i7.Ad?); + )) as _i13.Ad?); + @override - int? adIdFor(_i7.Ad? ad) => (super.noSuchMethod(Invocation.method( + int? adIdFor(_i13.Ad? ad) => (super.noSuchMethod(Invocation.method( #adIdFor, [ad], )) as int?); + @override bool isWidgetAdIdMounted(int? adId) => (super.noSuchMethod( Invocation.method( @@ -474,6 +564,7 @@ class MockAdInstanceManager extends _i1.Mock implements _i13.AdInstanceManager { ), returnValue: false, ) as bool); + @override void mountWidgetAdId(int? adId) => super.noSuchMethod( Invocation.method( @@ -482,6 +573,7 @@ class MockAdInstanceManager extends _i1.Mock implements _i13.AdInstanceManager { ), returnValueForMissingStub: null, ); + @override void unmountWidgetAdId(int? adId) => super.noSuchMethod( Invocation.method( @@ -490,171 +582,187 @@ class MockAdInstanceManager extends _i1.Mock implements _i13.AdInstanceManager { ), returnValueForMissingStub: null, ); + @override - _i10.Future loadBannerAd(_i7.BannerAd? ad) => (super.noSuchMethod( + _i9.Future loadBannerAd(_i13.BannerAd? ad) => (super.noSuchMethod( Invocation.method( #loadBannerAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadInterstitialAd(_i7.InterstitialAd? ad) => + _i9.Future loadInterstitialAd(_i13.InterstitialAd? ad) => (super.noSuchMethod( Invocation.method( #loadInterstitialAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadNativeAd(_i7.NativeAd? ad) => (super.noSuchMethod( + _i9.Future loadNativeAd(_i13.NativeAd? ad) => (super.noSuchMethod( Invocation.method( #loadNativeAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadRewardedAd(_i7.RewardedAd? ad) => (super.noSuchMethod( + _i9.Future loadRewardedAd(_i13.RewardedAd? ad) => (super.noSuchMethod( Invocation.method( #loadRewardedAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadRewardedInterstitialAd( - _i7.RewardedInterstitialAd? ad) => + _i9.Future loadRewardedInterstitialAd( + _i13.RewardedInterstitialAd? ad) => (super.noSuchMethod( Invocation.method( #loadRewardedInterstitialAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadAppOpenAd(_i7.AppOpenAd? ad) => (super.noSuchMethod( + _i9.Future loadAppOpenAd(_i13.AppOpenAd? ad) => (super.noSuchMethod( Invocation.method( #loadAppOpenAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadAdManagerBannerAd(_i7.AdManagerBannerAd? ad) => + _i9.Future loadAdManagerBannerAd(_i13.AdManagerBannerAd? ad) => (super.noSuchMethod( Invocation.method( #loadAdManagerBannerAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadFluidAd(_i7.FluidAdManagerBannerAd? ad) => + _i9.Future loadFluidAd(_i13.FluidAdManagerBannerAd? ad) => (super.noSuchMethod( Invocation.method( #loadFluidAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future loadAdManagerInterstitialAd( - _i7.AdManagerInterstitialAd? ad) => + _i9.Future loadAdManagerInterstitialAd( + _i13.AdManagerInterstitialAd? ad) => (super.noSuchMethod( Invocation.method( #loadAdManagerInterstitialAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future disposeAd(_i7.Ad? ad) => (super.noSuchMethod( + _i9.Future disposeAd(_i13.Ad? ad) => (super.noSuchMethod( Invocation.method( #disposeAd, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future showAdWithoutView(_i7.AdWithoutView? ad) => + _i9.Future showAdWithoutView(_i13.AdWithoutView? ad) => (super.noSuchMethod( Invocation.method( #showAdWithoutView, [ad], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future<_i8.RequestConfiguration> getRequestConfiguration() => + _i9.Future<_i7.RequestConfiguration> getRequestConfiguration() => (super.noSuchMethod( Invocation.method( #getRequestConfiguration, [], ), - returnValue: _i10.Future<_i8.RequestConfiguration>.value( - _FakeRequestConfiguration_7( + returnValue: _i9.Future<_i7.RequestConfiguration>.value( + _FakeRequestConfiguration_6( this, Invocation.method( #getRequestConfiguration, [], ), )), - ) as _i10.Future<_i8.RequestConfiguration>); + ) as _i9.Future<_i7.RequestConfiguration>); + @override - _i10.Future updateRequestConfiguration( - _i8.RequestConfiguration? requestConfiguration) => + _i9.Future updateRequestConfiguration( + _i7.RequestConfiguration? requestConfiguration) => (super.noSuchMethod( Invocation.method( #updateRequestConfiguration, [requestConfiguration], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future setSameAppKeyEnabled(bool? isEnabled) => - (super.noSuchMethod( + _i9.Future setSameAppKeyEnabled(bool? isEnabled) => (super.noSuchMethod( Invocation.method( #setSameAppKeyEnabled, [isEnabled], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future setAppMuted(bool? muted) => (super.noSuchMethod( + _i9.Future setAppMuted(bool? muted) => (super.noSuchMethod( Invocation.method( #setAppMuted, [muted], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future setAppVolume(double? volume) => (super.noSuchMethod( + _i9.Future setAppVolume(double? volume) => (super.noSuchMethod( Invocation.method( #setAppVolume, [volume], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future setImmersiveMode( - _i7.AdWithoutView? ad, + _i9.Future setImmersiveMode( + _i13.AdWithoutView? ad, bool? immersiveModeEnabled, ) => (super.noSuchMethod( @@ -665,39 +773,49 @@ class MockAdInstanceManager extends _i1.Mock implements _i13.AdInstanceManager { immersiveModeEnabled, ], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future disableSDKCrashReporting() => (super.noSuchMethod( + _i9.Future disableSDKCrashReporting() => (super.noSuchMethod( Invocation.method( #disableSDKCrashReporting, [], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future disableMediationInitialization() => (super.noSuchMethod( + _i9.Future disableMediationInitialization() => (super.noSuchMethod( Invocation.method( #disableMediationInitialization, [], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future getVersionString() => (super.noSuchMethod( + _i9.Future getVersionString() => (super.noSuchMethod( Invocation.method( #getVersionString, [], ), - returnValue: _i10.Future.value(''), - ) as _i10.Future); + returnValue: _i9.Future.value(_i14.dummyValue( + this, + Invocation.method( + #getVersionString, + [], + ), + )), + ) as _i9.Future); + @override - _i10.Future setServerSideVerificationOptions( - _i7.ServerSideVerificationOptions? options, - _i7.Ad? ad, + _i9.Future setServerSideVerificationOptions( + _i13.ServerSideVerificationOptions? options, + _i13.Ad? ad, ) => (super.noSuchMethod( Invocation.method( @@ -707,38 +825,42 @@ class MockAdInstanceManager extends _i1.Mock implements _i13.AdInstanceManager { ad, ], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future openDebugMenu(String? adUnitId) => (super.noSuchMethod( + _i9.Future openDebugMenu(String? adUnitId) => (super.noSuchMethod( Invocation.method( #openDebugMenu, [adUnitId], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - _i10.Future registerWebView(_i9.WebViewController? controller) => + _i9.Future registerWebView(_i8.WebViewController? controller) => (super.noSuchMethod( Invocation.method( #registerWebView, [controller], ), - returnValue: _i10.Future.value(), - returnValueForMissingStub: _i10.Future.value(), - ) as _i10.Future); + returnValue: _i9.Future.value(), + returnValueForMissingStub: _i9.Future.value(), + ) as _i9.Future); + @override - int getWebViewId(_i9.WebViewController? controller) => (super.noSuchMethod( + int getWebViewId(_i8.WebViewController? controller) => (super.noSuchMethod( Invocation.method( #getWebViewId, [controller], ), returnValue: 0, ) as int); + @override - void openAdInspector(_i14.OnAdInspectorClosedListener? listener) => + void openAdInspector(_i15.OnAdInspectorClosedListener? listener) => super.noSuchMethod( Invocation.method( #openAdInspector, @@ -758,7 +880,7 @@ class MockWebViewControllerUtil extends _i1.Mock } @override - int webViewIdentifier(_i9.WebViewController? controller) => + int webViewIdentifier(_i8.WebViewController? controller) => (super.noSuchMethod( Invocation.method( #webViewIdentifier, diff --git a/packages/google_mobile_ads/test/ump/consent_form_impl_test.mocks.dart b/packages/google_mobile_ads/test/ump/consent_form_impl_test.mocks.dart index 21c533dc6..ec4871282 100644 --- a/packages/google_mobile_ads/test/ump/consent_form_impl_test.mocks.dart +++ b/packages/google_mobile_ads/test/ump/consent_form_impl_test.mocks.dart @@ -1,5 +1,5 @@ -// Mocks generated by Mockito 5.3.2 from annotations -// in google_mobile_ads/example/ios/.symlinks/plugins/google_mobile_ads/test/ump/consent_form_impl_test.dart. +// Mocks generated by Mockito 5.4.4 from annotations +// in google_mobile_ads/test/ump/consent_form_impl_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes @@ -9,6 +9,7 @@ import 'package:google_mobile_ads/src/ump/consent_form.dart' as _i6; import 'package:google_mobile_ads/src/ump/consent_information.dart' as _i4; import 'package:google_mobile_ads/src/ump/consent_request_parameters.dart' as _i3; +import 'package:google_mobile_ads/src/ump/form_error.dart' as _i7; import 'package:google_mobile_ads/src/ump/user_messaging_channel.dart' as _i2; import 'package:mockito/mockito.dart' as _i1; @@ -16,6 +17,8 @@ import 'package:mockito/mockito.dart' as _i1; // ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_setters_without_getters // ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use +// ignore_for_file: deprecated_member_use_from_same_package // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: prefer_const_constructors @@ -49,6 +52,7 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValueForMissingStub: null, ); + @override _i5.Future isConsentFormAvailable() => (super.noSuchMethod( Invocation.method( @@ -57,6 +61,7 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValue: _i5.Future.value(false), ) as _i5.Future); + @override _i5.Future<_i4.ConsentStatus> getConsentStatus() => (super.noSuchMethod( Invocation.method( @@ -66,6 +71,7 @@ class MockUserMessagingChannel extends _i1.Mock returnValue: _i5.Future<_i4.ConsentStatus>.value(_i4.ConsentStatus.notRequired), ) as _i5.Future<_i4.ConsentStatus>); + @override _i5.Future reset() => (super.noSuchMethod( Invocation.method( @@ -75,6 +81,27 @@ class MockUserMessagingChannel extends _i1.Mock returnValue: _i5.Future.value(), returnValueForMissingStub: _i5.Future.value(), ) as _i5.Future); + + @override + _i5.Future canRequestAds() => (super.noSuchMethod( + Invocation.method( + #canRequestAds, + [], + ), + returnValue: _i5.Future.value(false), + ) as _i5.Future); + + @override + _i5.Future<_i4.PrivacyOptionsRequirementStatus> + getPrivacyOptionsRequirementStatus() => (super.noSuchMethod( + Invocation.method( + #getPrivacyOptionsRequirementStatus, + [], + ), + returnValue: _i5.Future<_i4.PrivacyOptionsRequirementStatus>.value( + _i4.PrivacyOptionsRequirementStatus.notRequired), + ) as _i5.Future<_i4.PrivacyOptionsRequirementStatus>); + @override void loadConsentForm( _i6.OnConsentFormLoadSuccessListener? successListener, @@ -90,6 +117,17 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValueForMissingStub: null, ); + + @override + _i5.Future<_i7.FormError?> loadAndShowConsentFormIfRequired() => + (super.noSuchMethod( + Invocation.method( + #loadAndShowConsentFormIfRequired, + [], + ), + returnValue: _i5.Future<_i7.FormError?>.value(), + ) as _i5.Future<_i7.FormError?>); + @override void show( _i6.ConsentForm? consentForm, @@ -105,6 +143,16 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValueForMissingStub: null, ); + + @override + _i5.Future<_i7.FormError?> showPrivacyOptionsForm() => (super.noSuchMethod( + Invocation.method( + #showPrivacyOptionsForm, + [], + ), + returnValue: _i5.Future<_i7.FormError?>.value(), + ) as _i5.Future<_i7.FormError?>); + @override _i5.Future disposeConsentForm(_i6.ConsentForm? consentForm) => (super.noSuchMethod( diff --git a/packages/google_mobile_ads/test/ump/consent_form_test.dart b/packages/google_mobile_ads/test/ump/consent_form_test.dart index d7e664dd5..d5f1d0a80 100644 --- a/packages/google_mobile_ads/test/ump/consent_form_test.dart +++ b/packages/google_mobile_ads/test/ump/consent_form_test.dart @@ -24,7 +24,7 @@ import 'package:mockito/mockito.dart'; import 'consent_form_test.mocks.dart'; -@GenerateMocks([UserMessagingChannel]) +@GenerateNiceMocks(>[MockSpec()]) void main() { TestWidgetsFlutterBinding.ensureInitialized(); diff --git a/packages/google_mobile_ads/test/ump/consent_form_test.mocks.dart b/packages/google_mobile_ads/test/ump/consent_form_test.mocks.dart index 6cf89d043..141c407f2 100644 --- a/packages/google_mobile_ads/test/ump/consent_form_test.mocks.dart +++ b/packages/google_mobile_ads/test/ump/consent_form_test.mocks.dart @@ -1,5 +1,5 @@ -// Mocks generated by Mockito 5.3.2 from annotations -// in google_mobile_ads/example/ios/.symlinks/plugins/google_mobile_ads/test/ump/consent_form_test.dart. +// Mocks generated by Mockito 5.4.4 from annotations +// in google_mobile_ads/test/ump/consent_form_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes @@ -17,6 +17,8 @@ import 'package:mockito/mockito.dart' as _i1; // ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_setters_without_getters // ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use +// ignore_for_file: deprecated_member_use_from_same_package // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: prefer_const_constructors @@ -29,10 +31,6 @@ import 'package:mockito/mockito.dart' as _i1; /// See the documentation for Mockito's code generation for more information. class MockUserMessagingChannel extends _i1.Mock implements _i2.UserMessagingChannel { - MockUserMessagingChannel() { - _i1.throwOnMissingStub(this); - } - @override void requestConsentInfoUpdate( _i3.ConsentRequestParameters? params, @@ -50,6 +48,7 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValueForMissingStub: null, ); + @override _i5.Future isConsentFormAvailable() => (super.noSuchMethod( Invocation.method( @@ -57,7 +56,9 @@ class MockUserMessagingChannel extends _i1.Mock [], ), returnValue: _i5.Future.value(false), + returnValueForMissingStub: _i5.Future.value(false), ) as _i5.Future); + @override _i5.Future<_i4.ConsentStatus> getConsentStatus() => (super.noSuchMethod( Invocation.method( @@ -66,7 +67,10 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValue: _i5.Future<_i4.ConsentStatus>.value(_i4.ConsentStatus.notRequired), + returnValueForMissingStub: + _i5.Future<_i4.ConsentStatus>.value(_i4.ConsentStatus.notRequired), ) as _i5.Future<_i4.ConsentStatus>); + @override _i5.Future reset() => (super.noSuchMethod( Invocation.method( @@ -76,14 +80,17 @@ class MockUserMessagingChannel extends _i1.Mock returnValue: _i5.Future.value(), returnValueForMissingStub: _i5.Future.value(), ) as _i5.Future); + @override _i5.Future canRequestAds() => (super.noSuchMethod( Invocation.method( #canRequestAds, [], ), + returnValue: _i5.Future.value(false), returnValueForMissingStub: _i5.Future.value(false), ) as _i5.Future); + @override _i5.Future<_i4.PrivacyOptionsRequirementStatus> getPrivacyOptionsRequirementStatus() => (super.noSuchMethod( @@ -92,8 +99,12 @@ class MockUserMessagingChannel extends _i1.Mock [], ), returnValue: _i5.Future<_i4.PrivacyOptionsRequirementStatus>.value( - _i4.PrivacyOptionsRequirementStatus.unknown), + _i4.PrivacyOptionsRequirementStatus.notRequired), + returnValueForMissingStub: + _i5.Future<_i4.PrivacyOptionsRequirementStatus>.value( + _i4.PrivacyOptionsRequirementStatus.notRequired), ) as _i5.Future<_i4.PrivacyOptionsRequirementStatus>); + @override void loadConsentForm( _i6.OnConsentFormLoadSuccessListener? successListener, @@ -109,6 +120,7 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValueForMissingStub: null, ); + @override _i5.Future<_i7.FormError?> loadAndShowConsentFormIfRequired() => (super.noSuchMethod( @@ -119,6 +131,7 @@ class MockUserMessagingChannel extends _i1.Mock returnValue: _i5.Future<_i7.FormError?>.value(), returnValueForMissingStub: _i5.Future<_i7.FormError?>.value(), ) as _i5.Future<_i7.FormError?>); + @override void show( _i6.ConsentForm? consentForm, @@ -134,6 +147,7 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValueForMissingStub: null, ); + @override _i5.Future<_i7.FormError?> showPrivacyOptionsForm() => (super.noSuchMethod( Invocation.method( @@ -143,6 +157,7 @@ class MockUserMessagingChannel extends _i1.Mock returnValue: _i5.Future<_i7.FormError?>.value(), returnValueForMissingStub: _i5.Future<_i7.FormError?>.value(), ) as _i5.Future<_i7.FormError?>); + @override _i5.Future disposeConsentForm(_i6.ConsentForm? consentForm) => (super.noSuchMethod( diff --git a/packages/google_mobile_ads/test/ump/consent_information_impl_test.mocks.dart b/packages/google_mobile_ads/test/ump/consent_information_impl_test.mocks.dart index 3c3874680..ce73805bf 100644 --- a/packages/google_mobile_ads/test/ump/consent_information_impl_test.mocks.dart +++ b/packages/google_mobile_ads/test/ump/consent_information_impl_test.mocks.dart @@ -1,5 +1,5 @@ -// Mocks generated by Mockito 5.3.2 from annotations -// in google_mobile_ads/example/ios/.symlinks/plugins/google_mobile_ads/test/ump/consent_information_impl_test.dart. +// Mocks generated by Mockito 5.4.4 from annotations +// in google_mobile_ads/test/ump/consent_information_impl_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes @@ -9,6 +9,7 @@ import 'package:google_mobile_ads/src/ump/consent_form.dart' as _i6; import 'package:google_mobile_ads/src/ump/consent_information.dart' as _i4; import 'package:google_mobile_ads/src/ump/consent_request_parameters.dart' as _i3; +import 'package:google_mobile_ads/src/ump/form_error.dart' as _i7; import 'package:google_mobile_ads/src/ump/user_messaging_channel.dart' as _i2; import 'package:mockito/mockito.dart' as _i1; @@ -16,6 +17,8 @@ import 'package:mockito/mockito.dart' as _i1; // ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_setters_without_getters // ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use +// ignore_for_file: deprecated_member_use_from_same_package // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: prefer_const_constructors @@ -49,6 +52,7 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValueForMissingStub: null, ); + @override _i5.Future isConsentFormAvailable() => (super.noSuchMethod( Invocation.method( @@ -57,6 +61,7 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValue: _i5.Future.value(false), ) as _i5.Future); + @override _i5.Future<_i4.ConsentStatus> getConsentStatus() => (super.noSuchMethod( Invocation.method( @@ -66,6 +71,7 @@ class MockUserMessagingChannel extends _i1.Mock returnValue: _i5.Future<_i4.ConsentStatus>.value(_i4.ConsentStatus.notRequired), ) as _i5.Future<_i4.ConsentStatus>); + @override _i5.Future reset() => (super.noSuchMethod( Invocation.method( @@ -75,6 +81,27 @@ class MockUserMessagingChannel extends _i1.Mock returnValue: _i5.Future.value(), returnValueForMissingStub: _i5.Future.value(), ) as _i5.Future); + + @override + _i5.Future canRequestAds() => (super.noSuchMethod( + Invocation.method( + #canRequestAds, + [], + ), + returnValue: _i5.Future.value(false), + ) as _i5.Future); + + @override + _i5.Future<_i4.PrivacyOptionsRequirementStatus> + getPrivacyOptionsRequirementStatus() => (super.noSuchMethod( + Invocation.method( + #getPrivacyOptionsRequirementStatus, + [], + ), + returnValue: _i5.Future<_i4.PrivacyOptionsRequirementStatus>.value( + _i4.PrivacyOptionsRequirementStatus.notRequired), + ) as _i5.Future<_i4.PrivacyOptionsRequirementStatus>); + @override void loadConsentForm( _i6.OnConsentFormLoadSuccessListener? successListener, @@ -90,6 +117,17 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValueForMissingStub: null, ); + + @override + _i5.Future<_i7.FormError?> loadAndShowConsentFormIfRequired() => + (super.noSuchMethod( + Invocation.method( + #loadAndShowConsentFormIfRequired, + [], + ), + returnValue: _i5.Future<_i7.FormError?>.value(), + ) as _i5.Future<_i7.FormError?>); + @override void show( _i6.ConsentForm? consentForm, @@ -105,6 +143,16 @@ class MockUserMessagingChannel extends _i1.Mock ), returnValueForMissingStub: null, ); + + @override + _i5.Future<_i7.FormError?> showPrivacyOptionsForm() => (super.noSuchMethod( + Invocation.method( + #showPrivacyOptionsForm, + [], + ), + returnValue: _i5.Future<_i7.FormError?>.value(), + ) as _i5.Future<_i7.FormError?>); + @override _i5.Future disposeConsentForm(_i6.ConsentForm? consentForm) => (super.noSuchMethod( @@ -115,15 +163,4 @@ class MockUserMessagingChannel extends _i1.Mock returnValue: _i5.Future.value(), returnValueForMissingStub: _i5.Future.value(), ) as _i5.Future); - @override - _i5.Future canRequestAds() => (super.noSuchMethod( - Invocation.method(#canRequestAds, []), - returnValue: _i5.Future.value(false), - ) as _i5.Future); - @override - _i5.Future<_i4.PrivacyOptionsRequirementStatus> - getPrivacyOptionsRequirementStatus() => (super.noSuchMethod( - Invocation.method(#getPrivacyOptionsRequirementStatus, []), - returnValue: _i5.Future<_i4.PrivacyOptionsRequirementStatus>.value( - _i4.PrivacyOptionsRequirementStatus.unknown))); }