SpaceUpdate.fromJson constructor
Implementation
factory SpaceUpdate.fromJson(Map<String, Object?> json) {
return SpaceUpdate(
name: json[r'name'] as String?,
description: json[r'description'] != null
? SpaceDescriptionCreate.fromJson(
json[r'description']! as Map<String, Object?>)
: null,
homepage: json[r'homepage'] as Map<String, Object?>?,
type: json[r'type'] as String?,
status: json[r'status'] as String?,
);
}