operator * method

List<num> operator *(
  1. List<num> other
)

Implementation

List<num> operator *(List<num> other) {
  return List.generate(length, (i) => this[i] * other[i]);
}