PaymentInput.fromJson constructor
Implementation
factory PaymentInput.fromJson(Map<String, dynamic> j) => PaymentInput(
method: _pflicht<String>(j, 'method'),
amountCents: _ganz(j, 'amountCents'),
paidAt: _text(j, 'paidAt'),
reference: _text(j, 'reference'),
onSite: j['onSite'] is bool ? j['onSite'] as bool : null,
);