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