operator * method

dynamic operator *(
  1. int amount
)

Implementation

operator *(int amount) => copyWith(amount: this.amount * amount);