connectToAddress method
- @Deprecated('Use `BluetoothConnection.toAddress(address)` instead')
- String? address, {
- ConnectionType type = ConnectionType.AUTO,
Implementation
@Deprecated('Use `BluetoothConnection.toAddress(address)` instead')
Future<void> connectToAddress(String? address, {ConnectionType type = ConnectionType.AUTO}) => Future(() async {
_defaultConnection = await BluetoothConnection.toAddress(address, type: type);
});