getFileList method

Future<List> getFileList()
override

Implementation

Future<List<dynamic>> getFileList() async {
  List<dynamic> list = await methodChannel.invokeMethod('getFileList');

  // for (var item in list) {
  //   try {
  //     String icon = item['icon'];
  //     icon = icon.replaceAll("\n", "");
  //     item['icon'] = base64Decode(icon);
  //   } catch (e) {
  //     print(e);
  //   }
  // }

  return list;
}