SpacePermission.fromJson constructor
Implementation
factory SpacePermission.fromJson(Map<String, Object?> json) {
return SpacePermission(
id: json[r'id'] as String?,
principal: json[r'principal'] != null
? SpacePermissionPrincipal.fromJson(
json[r'principal']! as Map<String, Object?>)
: null,
operation: json[r'operation'] != null
? SpacePermissionOperation.fromJson(
json[r'operation']! as Map<String, Object?>)
: null,
);
}