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