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