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