OptionBuilder class
Option Builder to help developer to construct an options map.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → Map< String, dynamic> -
disableAutoConnect(
) → OptionBuilder -
disableForceNew(
) → OptionBuilder -
disableForceNewConnection(
) → OptionBuilder -
disableMultiplex(
) → OptionBuilder -
disableReconnection(
) → OptionBuilder -
enableAutoConnect(
) → OptionBuilder -
enableForceNew(
) → OptionBuilder -
enableForceNewConnection(
) → OptionBuilder -
enableMultiplex(
) → OptionBuilder -
enableReconnection(
) → OptionBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setExtraHeaders(
Map< String, dynamic> headers) → OptionBuilder -
setPath(
String path) → OptionBuilder -
setQuery(
Map query) → OptionBuilder -
setRandomizationFactor(
num factor) → OptionBuilder -
setReconnectionAttempts(
num attempts) → OptionBuilder -
setReconnectionDelay(
int delay) → OptionBuilder -
setReconnectionDelayMax(
int delayMax) → OptionBuilder -
setTimeout(
int timeout) → OptionBuilder -
setTransports(
List< String> transports) → OptionBuilder -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited