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