fromMap static method

OrderNoteViewOrder? fromMap(
  1. Object? body
)

Implementation

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