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