set method
value
- an List or [TypedData from which to copy values.
offset
- (optional) index of the array at
which to start copying.
Calls
TypedArray.set( value
, offset
) on the
array.
In particular, see that page for requirements on value
being
a TypedData.
Implementation
BufferAttribute set(value, {int offset = 0}) {
array[offset] = value;
return this;
}