fromMap static method

PurchaseRefundCreatedBy? fromMap(
  1. Object? body
)

Implementation

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