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