ByteStructBase<S extends ByteStructBase<S, K> , K extends ByteField<NativeType> > class
abstract
- Mixed-in types
-
- StructBase<
S, K, int>
- StructBase<
Constructors
- ByteStructBase(ByteData byteData)
-
const
Properties
- byteData → ByteData
-
final
-
data
→ ByteStruct<
K> -
Proxy to allow the same keys
Object as
Structure<K, V>data passed to Keysno setteroverride -
fields
→ Iterable<
StructField< K, int> > -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keys
→ List<
K> -
a method from its TypeObject
The ordered list of keys — defines the schema.
Typically returns
MyField.valuesfor an enum-based key type.no setteroverride - length → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Iterable<
int> -
no setterinherited
Methods
-
arrayAt<
T extends TypedDataList< (int> >[int offset = 0, int? length]) → T -
arrayOrNullAt<
T extends TypedDataList< (int> >[int offset = 0, int? length]) → T? -
field(
K key) → StructField< K, int> -
inherited
-
fieldAs<
R> (Field< R> key) → StructField<Field< R> , R> -
inherited
-
fieldOrNull(
K key) → int? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< K, int> -
Snapshot as an IndexMap. If
K extends Enum, call.toJson()on the result to serialise via EnumMapByName.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
trySetField(
K key, int value) → bool -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
covariant K key) → int -
inherited
-
operator []=(
covariant K key, int value) → void -
inherited