whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? images(
- Images data
- TResult? video(
- Video data
- TResult? external(
- External data
- TResult? record(
- Record data
- TResult? recordWithMedia(
- RecordWithMedia data
- TResult? unknown()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(Images data)? images,
TResult? Function(Video data)? video,
TResult? Function(External data)? external,
TResult? Function(Record data)? record,
TResult? Function(RecordWithMedia data)? recordWithMedia,
TResult? Function(Map<String, dynamic> data)? unknown,
}) =>
throw _privateConstructorUsedError;