queryGroupList method

Future<Map> queryGroupList()

Implementation

Future<Map<dynamic, dynamic>> queryGroupList() async {
  final result = await promiseToFuture(ZIM.getInstance()!.queryGroupList())
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  Map resultMap = jsObjectToMap(result);

  return resultMap;
}