ResponeType class Null safety
- Inheritance
-
- Object
- ProtobufEnum
- ResponeType
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
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) → ResponeType?
Constants
- CODE_RESPONSE → const ResponeType
-
ResponeType._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'CODE_RESPONSE')
- ID_RESPONSE → const ResponeType
-
ResponeType._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'ID_RESPONSE')
- INVALID_RESPONSE → const ResponeType
-
ResponeType._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'INVALID_RESPONSE')
- TOKEN_RESPONSE → const ResponeType
-
ResponeType._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TOKEN_RESPONSE')
-
values
→ const List<
ResponeType> -
<ResponeType>[INVALID_RESPONSE, CODE_RESPONSE, TOKEN_RESPONSE, ID_RESPONSE]