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