ReasonCode class
- Inheritance
-
- Object
- ProtobufEnum
- ReasonCode
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's name or the value if names are not represented.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → ReasonCode?
Constants
- BAD_BLOCK → const ReasonCode
- BAD_PROTOCOL → const ReasonCode
- BAD_TX → const ReasonCode
- CONNECT_FAIL → const ReasonCode
- DUPLICATE_PEER → const ReasonCode
- FETCH_FAIL → const ReasonCode
- FORKED → const ReasonCode
- INCOMPATIBLE_CHAIN → const ReasonCode
- INCOMPATIBLE_PROTOCOL → const ReasonCode
- INCOMPATIBLE_VERSION → const ReasonCode
- LOCAL_IDENTITY → const ReasonCode
- NULL_IDENTITY → const ReasonCode
- PEER_QUITING → const ReasonCode
- PING_TIMEOUT → const ReasonCode
- REQUESTED → const ReasonCode
- RESET → const ReasonCode
- SYNC_FAIL → const ReasonCode
- TIME_OUT → const ReasonCode
- TOO_MANY_PEERS → const ReasonCode
- TOO_MANY_PEERS_WITH_SAME_IP → const ReasonCode
- UNEXPECTED_IDENTITY → const ReasonCode
- UNKNOWN → const ReasonCode
- UNLINKABLE → const ReasonCode
- USER_REASON → const ReasonCode
-
values
→ const List<
ReasonCode>