WebSocketState class

Constructors

WebSocketState.new({bool isConnected = false, bool connectionFailed = false, PreflightResponse? preflightResponse})
const

Properties

connectionFailed bool
final
hashCode int
The hash code for this object.
no setterinherited
isConnected bool
final
preflightResponse PreflightResponse?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? isConnected, bool? connectionFailed, PreflightResponse? preflightResponse}) WebSocketState
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