Sse class

this class is used to connect to sse server and management it

Constructors

Sse.connect({required Uri uri, bool withCredentials = false, bool closeOnError = true, Function? reConnect, List<String>? types, String eventType = ''})
factory

Properties

eventSource EventSource
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream
no setter
streamController StreamController<String>
final

Methods

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

Operators

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