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