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