Peer_Status class Null safety
- Inheritance
-
- Object
- ProtobufEnum
- Peer_Status
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- name → String
-
This enum's name, as specified in the .proto file.
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- value → int
-
This enum's integer value, as specified in the .proto file.
final, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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) → Peer_Status?
Constants
- STATUS_AWAY → const Peer_Status
-
Peer_Status._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'STATUS_AWAY')
- STATUS_BUSY → const Peer_Status
-
Peer_Status._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'STATUS_BUSY')
- STATUS_ONLINE → const Peer_Status
-
Peer_Status._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'STATUS_ONLINE')
- STATUS_UNSPECIFIED → const Peer_Status
-
Peer_Status._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'STATUS_UNSPECIFIED')
-
values
→ const List<
Peer_Status> -
<Peer_Status>[STATUS_UNSPECIFIED, STATUS_ONLINE, STATUS_AWAY, STATUS_BUSY]