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