MisarMailStreamEvent class

One decoded SSE frame.

MisarMail emits unnamed frames — data: {...} with no event: line — so event is normally null. data is the decoded JSON, or the raw string when the payload was not JSON.

Constructors

MisarMailStreamEvent(String? event, dynamic data)
const

Properties

data → dynamic
Decoded JSON payload, or the raw string.
final
event String?
The SSE event: name, when the server sends one.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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