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