getPairedDevices method
Get list of paired devices.
Implementation
@override
Future<List<Map<String, dynamic>>> getPairedDevices() async {
final result = await methodChannel.invokeMethod<List<dynamic>>('getPairedDevices');
return (result ?? []).cast<Map<Object?, Object?>>().map((e) =>
Map<String, dynamic>.from(e)
).toList();
}