getConnectedDevices static method
Implementation
static Future<List<String>> getConnectedDevices() async {
try {
final List<dynamic> result = await _channel.invokeMethod('getConnectedDevices');
return result.cast<String>();
} on PlatformException {
return [];
}
}