whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? record(
- EmbedViewRecord data
- TResult? images(
- EmbedViewImages data
- TResult? external(
- EmbedViewExternal data
- TResult? recordWithMedia()?,
- TResult? video(
- EmbedVideoView data
- TResult? unknown()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(EmbedViewRecord data)? record,
TResult? Function(EmbedViewImages data)? images,
TResult? Function(EmbedViewExternal data)? external,
TResult? Function(EmbedViewRecordWithMedia data)? recordWithMedia,
TResult? Function(EmbedVideoView data)? video,
TResult? Function(Map<String, dynamic> data)? unknown,
}) =>
throw _privateConstructorUsedError;