CreditNoteResult.fromJson constructor

CreditNoteResult.fromJson(
  1. Map<String, dynamic> j
)

Implementation

factory CreditNoteResult.fromJson(Map<String, dynamic> j) => CreditNoteResult(
      creditNote: Invoice.fromJson(_objekt(j, 'creditNote')),
      remainingCents: _ganz(j, 'remainingCents') ?? 0,
      replayed: j['replayed'] == true,
    );