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