fromMap static method

BookingNoteWatcher? fromMap(
  1. Object? body
)

Implementation

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