SerializableField<V> class abstract mixin

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

Implemented types
Available extensions

Constructors

SerializableField()

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
type Type
no setter

Methods

getIn(covariant Object struct) → V
Read this field's value from struct.
override
isTypeOf(Object? value) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setIn(covariant Object struct, V value) → void
Write value into this field of struct.
override
testAccess(covariant Object struct) bool
Whether this field is present/valid for struct. Defaults to true (fixed-schema). Override for optional/sparse fields.
override
toString() String
A string representation of this object.
inherited
validateType(Object? value) → V?

Operators

operator ==(Object other) bool
The equality operator.
inherited