getGroupSpecificationFromServer method

Future<EMGroup> getGroupSpecificationFromServer(
  1. String groupId
)

获取群组详情

Implementation

Future<EMGroup> getGroupSpecificationFromServer(String groupId) async {
  Map req = {'groupId': groupId};
  Map result = await _channel.invokeMethod(
      EMSDKMethod.getGroupSpecificationFromServer, req);
  EMError.hasErrorFromResult(result);
  return EMGroup.fromJson(
      result[EMSDKMethod.getGroupSpecificationFromServer]);
}