fromMap static method

Implementation

static PurchasePaymentNoteViewCreatedBy? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return PurchasePaymentNoteViewCreatedBy(
    name: readText(source['name']),
    object: readText(source['object']),
  );
}