maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult network(
    1. String imageUrl,
    2. bool isCircle,
    3. double width,
    4. double? height,
    5. BoxFit? boxFit,
    )?,
  2. TResult asset(
    1. String assetName
    )?,
  3. TResult localImage(
    1. String imagePath,
    2. double width,
    3. double height
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String imageUrl, bool isCircle, double width,
          double? height, BoxFit? boxFit)?
      network,
  TResult Function(String assetName)? asset,
  TResult Function(String imagePath, double width, double height)? localImage,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;