SpaceDescription.fromJson constructor
Implementation
factory SpaceDescription.fromJson(Map<String, Object?> json) {
return SpaceDescription(
value: json[r'value'] as String? ?? '',
representation: SpaceDescriptionRepresentation.fromValue(
json[r'representation'] as String? ?? ''),
embeddedContent: (json[r'embeddedContent'] as List<Object?>?)
?.map((i) => i as Map<String, Object?>? ?? {})
.toList() ??
[],
);
}