int64s method

List<Int64> int64s(
  1. int count, {
  2. int min = 0,
  3. int? max,
})

generates a list containing count random Int64s whose values fall between min (inclusive) and max (exclusive)

Implementation

List<Int64> int64s($core.int count, {$core.int min = 0, $core.int? max}) {
  max ??= Int64.MAX_VALUE.toInt(); // -- force default even if `null` is explicitly passed

  return List.generate(count, (i) => int64(min: min, max: max));
}