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