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