value<T extends Event> static method
Returs the value of a registered event. It is null
if no such event has been registered.
Implementation
static T Function(Map<String, dynamic>)? value<T extends Event>() =>
Event._registry[T] as T Function(Map<String, dynamic>)?;