toListOfDouble method

List<double> toListOfDouble()

Returns a new list containing the elements of this rounded to double.

Implementation

List<double> toListOfDouble() {
  return List<double>.generate(length, (i) => this[i].roundToDouble());
}