$mapping constant

Map<String, PaymentSource Function(Object?)> const $mapping

Implementation

static const Map<String, PaymentSource Function(Object?)> $mapping = {
  'account': Account.fromJson,
  'bank_account': BankAccount.fromJson,
  'card': Card.fromJson,
  'source': Source.fromJson,
};