Field_Cardinality class Null safety

Inheritance

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

Constants

CARDINALITY_OPTIONAL → const Field_Cardinality
Field_Cardinality._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'CARDINALITY_OPTIONAL')
CARDINALITY_REPEATED → const Field_Cardinality
Field_Cardinality._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'CARDINALITY_REPEATED')
CARDINALITY_REQUIRED → const Field_Cardinality
Field_Cardinality._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'CARDINALITY_REQUIRED')
CARDINALITY_UNKNOWN → const Field_Cardinality
Field_Cardinality._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'CARDINALITY_UNKNOWN')
values → const List<Field_Cardinality>
<Field_Cardinality>[CARDINALITY_UNKNOWN, CARDINALITY_OPTIONAL, CARDINALITY_REQUIRED, CARDINALITY_REPEATED]