event property Null safety

Event event

Implementation

Event get event => throw _privateConstructorUsedError;