PaymentItem constructor

PaymentItem({
  1. required String label,
  2. required PaymentCurrencyAmount amount,
  3. bool? pending,
})

Implementation

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