fromMap static method

Implementation

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