when<TResult extends Object?> method
Null safety
- {required TResult start(
- required TResult center(
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() start,
required TResult Function() center,
}) =>
throw _privateConstructorUsedError;