MessageEvent class

Constructors

MessageEvent(String topic, String message, int publishedAt, String? attestation, TransportType transportType)

Properties

attestation ↔ String?
getter/setter pair
eventName ↔ String?
The name of associated Event. Default value is null. Typically set by external code.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
message ↔ String
getter/setter pair
publishedAt ↔ int
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topic ↔ String
getter/setter pair
transportType ↔ TransportType
getter/setter pair
whenOccurred ↔ DateTime?
The date/time when the event is broadcast. Until broadcast, the value is null.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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