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