maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult network(
- MyNetworkImage value
- TResult base64(
- MyBase64Image value
- TResult filePath(
- MyFilePathImage value
- TResult asset(
- MyAssetImage value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(MyNetworkImage value)? network,
TResult Function(MyBase64Image value)? base64,
TResult Function(MyFilePathImage value)? filePath,
TResult Function(MyAssetImage value)? asset,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;