WsResyncReason class final

Open string enumeration WsResyncReason; unknown values are preserved (isUnknown).

Annotations
  • @immutable

Constructors

WsResyncReason.fromJson(String value)
Decodes value; a value this version does not know is kept as is (isUnknown is true).
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
isUnknown → bool
Whether value is not one of values (sent by a newer server / writer).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The wire value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
The wire value.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

gapTooOld → const WsResyncReason
gap-too-old.
overflow → const WsResyncReason
overflow.
serverRestart → const WsResyncReason
server-restart.
values → const List<WsResyncReason>
Every value known to this version of the contract.