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