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