name A natural language name identifying the event definition. This
name should be usable as an identifier for the module by machine
processing applications such as code generation.
Implementation
String? get name => throw _privateConstructorUsedError;