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