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