fromMap static method

PurchasePaymentNoteRead? fromMap(
  1. Object? body
)

Implementation

static PurchasePaymentNoteRead? fromMap(Object? body) {
  final source = readRecord(body, envelopeKey: 'purchase_payment');
  if (source == null) return null;
  return PurchasePaymentNoteRead(
    note: readAny(source['note']),
  );
}