whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult game(
- Event event
- TResult general(
- GenericEvent event
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult Function(Event event)? game,
TResult Function(GenericEvent event)? general,
}) =>
throw _privateConstructorUsedError;