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