GetSpaceHierarchyResponse.fromJson constructor
Implementation
GetSpaceHierarchyResponse.fromJson(Map<String, Object?> json)
: nextBatch = ((v) => v != null ? v as String : null)(json['next_batch']),
rooms = (json['rooms'] as List)
.map((v) => SpaceRoomsChunk.fromJson(v as Map<String, Object?>))
.toList();