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