InvalidAmountException constructor

InvalidAmountException(
  1. int amount
)

Implementation

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