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)
Platform-specific implementations should set this with their own platform-specific class that extends FlutterAdkPlatform when they register themselves.
Implementation
static set instance(FlutterAdkPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}