getAmount method

num? getAmount()

Implementation

num? getAmount() {
  return amount;
}