fromJson static method

V2TimPermissionGroupInfo fromJson(
  1. Map<String, dynamic> json
)

Implementation

static V2TimPermissionGroupInfo fromJson(Map<String, dynamic> json) {
  return V2TimPermissionGroupInfo(
    groupID: json['groupID'] ?? "",
    permissionGroupID: json['permissionGroupID'] ?? "",
    permissionGroupName: json['permissionGroupName'] ?? "",
    customData: json['customData'] ?? "",
    groupPermission: json['groupPermission'] ?? 0,
    memberCount: json['memberCount'] ?? 0,
  );
}