fromMap static method
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']),
);
}