instance property
FlutterAdkPlatform
get
instance
The default instance of FlutterAdkPlatform to use.
Defaults to MethodChannelFlutterAdk.
Implementation
static FlutterAdkPlatform get instance => _instance;
set
instance
(FlutterAdkPlatform instance)
Sets the active platform implementation.
Platform plugins should set this to their implementation of FlutterAdkPlatform during registration.
Implementation
static set instance(FlutterAdkPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}