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