FieldBehavior class Null safety

Inheritance

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) FieldBehavior?

Constants

FIELD_BEHAVIOR_UNSPECIFIED → const FieldBehavior
FieldBehavior._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'FIELD_BEHAVIOR_UNSPECIFIED')
IMMUTABLE → const FieldBehavior
FieldBehavior._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'IMMUTABLE')
INPUT_ONLY → const FieldBehavior
FieldBehavior._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'INPUT_ONLY')
OPTIONAL → const FieldBehavior
FieldBehavior._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'OPTIONAL')
OUTPUT_ONLY → const FieldBehavior
FieldBehavior._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'OUTPUT_ONLY')
REQUIRED → const FieldBehavior
FieldBehavior._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'REQUIRED')
values → const List<FieldBehavior>
<FieldBehavior>[FIELD_BEHAVIOR_UNSPECIFIED, OPTIONAL, REQUIRED, OUTPUT_ONLY, INPUT_ONLY, IMMUTABLE]