WebExperimentalLongPollingOptions class
Options for long polling in web experimental mode.
Parameters:
- timeoutDuration: Optional timeout duration.
Example:
var options = WebExperimentalLongPollingOptions(timeoutDuration: Duration(seconds: 30));
Constructors
- WebExperimentalLongPollingOptions({Duration? timeoutDuration})
-
const
Properties
-
asMap
→ Map<
String, dynamic> -
Gets the options as a map.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeoutDuration → Duration?
-
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.
override