fill method

void fill(
  1. T value
)

Sets exactly all structural elements dynamically internally bounds effectively maps perfectly.

Implementation

void fill(T value) {
  for (var i = 0; i < length; i++) {
    _data[i] = value;
  }
}