Returns a list containing value repeated n times.
value
n
Example:
repeatValue('x', 3); // ['x', 'x', 'x']
List<T> repeatValue<T>(T value, int n) => List<T>.filled(n, value);