when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult nothing(),
- required TResult just(
- T value
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() nothing,
required TResult Function(T value) just,
}) =>
throw _privateConstructorUsedError;