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