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