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