toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'address': address,
  'room': room,
  if (roomId != null) 'room_id': roomId,
  'queue': queue,
  'public': public,
  'annotations': annotations,
};