toArray method

List<num> toArray(
  1. List<num> array, {
  2. int offset = 0,
})

Implementation

List<num> toArray(List<num> array, {int offset = 0}) {
  var te = elements;

  array[offset] = te[0];
  array[offset + 1] = te[1];
  array[offset + 2] = te[2];

  array[offset + 3] = te[3];
  array[offset + 4] = te[4];
  array[offset + 5] = te[5];

  array[offset + 6] = te[6];
  array[offset + 7] = te[7];
  array[offset + 8] = te[8];

  return array;
}