queryGroupMemberInfo method

Future<Map> queryGroupMemberInfo(
  1. String userID,
  2. String groupID
)

Implementation

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

  Map resultMap = jsObjectToMap(result);

  return resultMap;
}