PublishedEvent class

The published shape drops approvedBy and graceDays: who approved is the community's own record, and a vetter is told closesAfter when its request is approved rather than being handed the raw grace period here.

Constructors

PublishedEvent({required String eventId, required String startDate, required String endDate, required int groupFloor, required List<Tier> tiers})
const
PublishedEvent.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

endDate → String
final
eventId → String
final
groupFloor → int
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startDate → String
final
tiers → List<Tier>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited