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