toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id" : id,
      "doom_id" : doomId,
      "room_id" : roomId,
      "facility_id" : facilityId,
      "start_time" : startTime.toString(),
      "end_time" : endTime.toString(),
    };