fromMap static method

CreditNoteApplications? fromMap(
  1. Object? body
)

Implementation

static CreditNoteApplications? fromMap(Object? body) {
  final source = readRecord(body, envelopeKey: 'credit_note');
  if (source == null) return null;
  return CreditNoteApplications(
    applications: readList<Object>(source['applications'], readAny),
    href: readText(source['href']),
    object: readText(source['object']),
  );
}