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