SerializableField<V>/NamedField
a key to each field, an type parameter, with an generated string, use as json key;
effectively describe the memory allocation requirements
maps entirety of the struct
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getIn(
covariant Object struct) → V -
Read this field's value from
struct.override -
isTypeOf(
Object? object) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setIn(
covariant Object struct, V value) → void -
Write
valueinto this field ofstruct.override -
testAccess(
covariant Object struct) → bool -
Whether this field is present/valid for
struct. Defaults totrue(fixed-schema). Override for optional/sparse fields.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited