import "package:fast_immutable_collections/fast_immutable_collections.dart"; import "package:freezed_annotation/freezed_annotation.dart"; part "get_specific_room_state.freezed.dart"; part "get_specific_room_state.g.dart"; @Freezed(toJson: false, fromJson: false) @JsonSerializable() class const GetSpecificRoomStateRequest({ required final IList keys, }) with _$GetSpecificRoomStateRequest { Map toJson() => _$GetSpecificRoomStateRequestToJson(this); factory GetSpecificRoomStateRequest.fromJson(Map json) => _$GetSpecificRoomStateRequestFromJson(json); } @Freezed(toJson: false, fromJson: false) @JsonSerializable() class const RoomStateKey({ required final String roomId, required final String type, required final String stateKey, }) with _$RoomStateKey { Map toJson() => _$RoomStateKeyToJson(this); factory RoomStateKey.fromJson(Map json) => _$RoomStateKeyFromJson(json); }