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