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