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