add poll support

Fixes #130
This commit is contained in:
Henry Hiles 2026-11-02 12:03:52 -05:00
commit f6aaf49164
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -0,0 +1,16 @@
import "package:freezed_annotation/freezed_annotation.dart";
part "event.freezed.dart";
part "event.g.dart";
@Freezed(toJson: false, fromJson: false)
@JsonSerializable()
class const EventConfig({
required final String roomId,
required final int eventRowId,
}) with _$EventConfig {
Map<String, Object?> toJson() => _$EventConfigToJson(this);
factory EventConfig.fromJson(Map<String, Object?> json) =>
_$EventConfigFromJson(json);
}