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