SpacePermissionCreateSubjects.fromJson constructor
Implementation
factory SpacePermissionCreateSubjects.fromJson(Map<String, Object?> json) {
return SpacePermissionCreateSubjects(
user: json[r'user'] != null
? SpacePermissionCreateSubjectsUser.fromJson(
json[r'user']! as Map<String, Object?>)
: null,
group: json[r'group'] != null
? SpacePermissionCreateSubjectsGroup.fromJson(
json[r'group']! as Map<String, Object?>)
: null,
);
}