fromJson static method

V2TimPermissionGroupInfo fromJson(
  1. Map json
)

Implementation

static V2TimPermissionGroupInfo fromJson(Map json) {
  json = Utils.formatJson(json);
  return V2TimPermissionGroupInfo(
    groupID: json['groupID'] ?? "",
    permissionGroupID: json['permissionGroupID'] ?? "",
    permissionGroupName: json['permissionGroupName'] ?? "",
    customData: json['customData'] ?? "",
    groupPermission: json['groupPermission'] ?? 0,
    memberCount: json['memberCount'] ?? 0,
  );
}