SpaceHierarchyRoomsChunk.fromJson constructor
Implementation
SpaceHierarchyRoomsChunk.fromJson(Map<String, Object?> json)
: childrenState = (json['children_state'] as List)
.map((v) => ChildrenState.fromJson(v as Map<String, Object?>))
.toList(),
roomType = ((v) => v != null ? v as String : null)(json['room_type']);