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