toJson method

Map<String, dynamic> toJson()

Converts room to the map representation, encodable to JSON.

Implementation

Map<String, dynamic> toJson() => _$RoomToJson(this);