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