when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult bool(
- bool field0
- required TResult string(
- String field0
- required TResult array(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(bool field0) bool,
required TResult Function(String field0) string,
required TResult Function(List<MyValue> field0) array,
}) =>
throw _privateConstructorUsedError;