when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult netWork(),
- required TResult file(),
- required TResult path(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(String url, FileXType? fileXType) netWork,
required TResult Function(File file, FileXType? fileXType) file,
required TResult Function(String path, FileXType? fileXType) path,
}) =>
throw _privateConstructorUsedError;