ConnectionState enum
Constructors
- ConnectionState()
-
const
Values
- none → const ConnectionState
-
Not currently connected to any asynchronous computation.
For example, a FutureBuilder whose FutureBuilder.future is null.
- waiting → const ConnectionState
-
Connected to an asynchronous computation and awaiting interaction.
- active → const ConnectionState
-
Connected to an active asynchronous computation.
For example, a Stream that has returned at least one value, but is not yet done.
- done → const ConnectionState
-
Connected to a terminated asynchronous computation.
Properties
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.
inherited
Constants
-
values
→ const List<
ConnectionState> - A constant List of the values in this enum, in order of their declaration.