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