divideAllBy method

Iterable<double> divideAllBy(
  1. T number
)

Divide number to all items in the collection

Implementation

Iterable<double> divideAllBy(T number) {
  return map((element) => element / number);
}