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;
}