deviceList method

Future<List> deviceList()

获得设备列表

Implementation

Future<List> deviceList() async {
  try {
    String json = await methodChannel.invokeMethod("deviceList");
    return Future.value(convert.json.decode(json));
  } catch (e) {
    rethrow;
  }
}