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