maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult network(
- String url,
- ImageParams params
- TResult base64(
- String base64Code,
- ImageParams params
- TResult filePath(
- String filePath,
- ImageParams params
- TResult asset(
- String assetPath,
- ImageParams params
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(String url, ImageParams params)? network,
TResult Function(String base64Code, ImageParams params)? base64,
TResult Function(String filePath, ImageParams params)? filePath,
TResult Function(String assetPath, ImageParams params)? asset,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;