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