Kind class Null safety
- Inheritance
-
- Object
- ProtobufEnum
- Kind
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
Constants
- BOOL → const Kind
-
Kind._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'BOOL')
- BYTES → const Kind
-
Kind._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'BYTES')
- FLOAT → const Kind
-
Kind._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'FLOAT')
- INT → const Kind
-
Kind._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'INT')
- LINK → const Kind
-
Kind._(6, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'LINK')
- LIST → const Kind
-
Kind._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'LIST')
- STRING → const Kind
-
Kind._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'STRING')
-
values
→ const List<
Kind> -
<Kind>[LIST, BOOL, INT, FLOAT, STRING, BYTES, LINK]