LikeCloseEvent class
Minimal close event interface required by the lib for error and socket close handling. */
Constructors
- LikeCloseEvent({required int code, required String? reason, bool? wasClean})
Properties
- code → int
-
Returns the WebSocket connection close code provided by the server. */
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → String?
-
Returns the WebSocket connection close reason provided by the server. */
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wasClean → bool?
-
final
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