PaymentItem constructor
PaymentItem({
- required String label,
- required PaymentCurrencyAmount amount,
- bool? pending,
Implementation
factory PaymentItem(
{required String label,
required PaymentCurrencyAmount amount,
bool? pending}) =>
PaymentItem._(label: label, amount: amount, pending: pending ?? false);