ListRoomMembershipsResponse.fromJson constructor
Implementation
factory ListRoomMembershipsResponse.fromJson(Map<String, dynamic> json) {
return ListRoomMembershipsResponse(
nextToken: json['NextToken'] as String?,
roomMemberships: (json['RoomMemberships'] as List?)
?.whereNotNull()
.map((e) => RoomMembership.fromJson(e as Map<String, dynamic>))
.toList(),
);
}