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