fill method Null safety

void fill(
  1. T value
)

Fills each element with the argument.

Element i is calculated with the formula:

x[i] = value;

Implementation

void fill(T value);