SockJSCloseEvent class
Event that represents the closing of a SockJS Client.
Constructors
- SockJSCloseEvent(int code, String reason, {required bool wasClean})
- Constructs a SockJSCloseEvent.
Properties
- code → int
-
Close code, if provided.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String
-
Reason for closing, if provided.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
Event type (e.g. "open").
finalinherited
- wasClean → bool
-
Whether or not the close was "clean".
final
Methods
-
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