when<TResult extends Object?> method
- @optionalTypeArgs
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(@GameConverter() G game) game,
required TResult Function(String message, String person) error,
}) =>
throw _privateConstructorUsedError;