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