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