fromMap static method

OrderInvoiceCreatedBy? fromMap(
  1. Object? body
)

Implementation

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