WebSocketOptions class

The class should hold values for further plugin options and features. All fields must be optional so that we keep backward compatibility

Constructors

WebSocketOptions({bool autoReconnect = false, int pingInterval = 0, Map<String, String> headers = const {}})
const

Properties

autoReconnect bool
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
pingInterval int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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