InvalidAmountException constructor
InvalidAmountException(
- int amount
Implementation
InvalidAmountException(this.amount)
: super('$amount is not a valid '
'amount. only positive non-zero values are allowed.');