fromMap static method

InvoiceNoteWatcher? fromMap(
  1. Object? body
)

Implementation

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