instance property
FlutterMaxAdPlatform
get
instance
The default instance of FlutterMaxAdPlatform to use.
Defaults to MethodChannelFlutterMaxAd.
Implementation
static FlutterMaxAdPlatform get instance => _instance;
set
instance
(FlutterMaxAdPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FlutterMaxAdPlatform when they register themselves.
Implementation
static set instance(FlutterMaxAdPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}