SpacePermissionCreate.fromJson constructor
Implementation
factory SpacePermissionCreate.fromJson(Map<String, Object?> json) {
return SpacePermissionCreate(
subjects: json[r'subjects'] != null
? SpacePermissionCreateSubjects.fromJson(
json[r'subjects']! as Map<String, Object?>)
: null,
operation: OperationCheckResult.fromJson(
json[r'operation'] as Map<String, Object?>? ?? const {}),
anonymousAccess: json[r'anonymousAccess'] as bool? ?? false,
unlicensedAccess: json[r'unlicensedAccess'] as bool? ?? false,
);
}