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