amount property
int
amount
Takes amount of the Bill from payment ID
Implementation
int get amount {
final currency = _currency == rial ? 1000 : 100;
return _paymentId! ~/ 100000 * currency;
}
Takes amount of the Bill from payment ID
int get amount {
final currency = _currency == rial ? 1000 : 100;
return _paymentId! ~/ 100000 * currency;
}