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