fromMap static method

OrderNoteViewCreatedBy? fromMap(
  1. Object? body
)

Implementation

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