queryGroupInfo method

Future<Map> queryGroupInfo(
  1. String groupID
)

Implementation

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

  Map resultMap = jsObjectToMap(result);

  return resultMap;
}