ServerSentEvent<T> class final

Constructors

ServerSentEvent({String? sessionLogId, String? elementType, String? result, String? extra})

Properties

elementType ↔ String?
getter/setter pair
extra ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isHistory ↔ bool
getter/setter pair
result ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionLogId ↔ String?
getter/setter pair

Methods

isIllegal() → bool
isLegal() → bool
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

Static Methods

fromJson(String json) → ServerSentEvent