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