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