fill method

List fill(
  1. dynamic value, {
  2. int start = 0,
  3. int? end,
})

fill elements of array with value from start up to, but not including, end. @param value the value to fill the array with @param start the start index @param end the end index

Implementation

List fill(value, {int start = 0, int? end}) =>
    array.fill(this, value, start: start, end: end);