BuiltValueEnumConst class
Optionally, annotate an EnumClass
constant with this to specify settings.
This is only needed for advanced use.
- Annotations
-
- @Target({TargetKind.field})
Constructors
- BuiltValueEnumConst({String? wireName, int? wireNumber, bool fallback = false})
-
const
Properties
- fallback → bool
-
Marks a value that is used as a fallback when an unrecognized value
is encountered.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- wireName → String?
-
The wire name when the constant is serialized. Defaults to
null
which indicates the name is to be taken from the literal field name.final - wireNumber → int?
-
The wire name when the constant is serialized. Defaults to
null
which indicates the name is to be taken from the literal field name.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited