event property Null safety

GenericEvent event

Implementation

GenericEvent get event => throw _privateConstructorUsedError;