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