maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult imageDetails(
- ImageDetails data
- TResult videoDetails(
- VideoDetails data
- TResult unknown()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(ImageDetails data)? imageDetails,
TResult Function(VideoDetails data)? videoDetails,
TResult Function(Map<String, dynamic> data)? unknown,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;