InlineFloat64Array class final

A destination for an fp64 array field.

Constructors

InlineFloat64Array(int capacity)
Storage for capacity elements, empty.
InlineFloat64Array.of(List<double> values)
A copy of values, length set to match.

Properties

byteView → Uint8List
storage as bytes — see InlineFloat32Array.byteView.
no setter
capacity → int
How many elements storage holds.
no setter
hashCode → int
The hash code for this object.
no setterinherited
length ↔ int
The number of elements in use.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storage ↔ Float64List
The elements; the first length are in use.
getter/setter pair

Methods

assign(List<double> values) → void
Replaces the contents with values, growing storage if it must.
ensureCapacity(int n) → void
Grows storage to hold at least n elements, keeping the first length.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList() → List<double>
The elements in use, copied into a new growable list.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](int i) → double
operator []=(int i, double value) → void