scanBluetoothDevices method

  1. @override
Future<List<String>> scanBluetoothDevices(
  1. TriposConfiguration configuration
)
override

Scan for Bluetooth devices

Implementation

@override
Future<List<String>> scanBluetoothDevices(
  TriposConfiguration configuration,
) async {
  final result = await methodChannel.invokeMethod<List<dynamic>>(
    'scanBluetoothDevices',
    configuration.toMap(),
  );
  return result?.cast<String>() ?? [];
}