ReconnectState enum
Reconnect lifecycle state surfaced through ReaderStatus.
Wire values are stable; renaming is breaking.
Values
- idle → const ReconnectState
-
const ReconnectState('idle') - disconnected → const ReconnectState
-
const ReconnectState('disconnected') - reconnecting → const ReconnectState
-
const ReconnectState('reconnecting') - reconnected → const ReconnectState
-
const ReconnectState('reconnected') - failed → const ReconnectState
-
const ReconnectState('failed') - abandoned → const ReconnectState
-
const ReconnectState('abandoned')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wire → String
-
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.
inherited
Static Methods
-
fromWire(
String? value) → ReconnectState
Constants
-
values
→ const List<
ReconnectState> - A constant List of the values in this enum, in order of their declaration.