Field_Cardinality class final
Whether a field is optional, required, or repeated.
Constructors
- Field_Cardinality(String value)
-
const
- Field_Cardinality.fromJson(String json)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotDefault → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- $default → const Field_Cardinality
- The default value for Field_Cardinality.
- cardinalityOptional → const Field_Cardinality
- For optional fields.
- cardinalityRepeated → const Field_Cardinality
- For repeated fields.
- cardinalityRequired → const Field_Cardinality
- For required fields. Proto2 syntax only.
- cardinalityUnknown → const Field_Cardinality
- For fields with unknown cardinality.