whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? imagesView(
- ImagesView data
- TResult? videoView(
- VideoView data
- TResult? externalView(
- ExternalView data
- TResult? recordView(
- RecordView data
- TResult? recordWithMediaView(
- RecordWithMediaView data
- TResult? unknown()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(ImagesView data)? imagesView,
TResult? Function(VideoView data)? videoView,
TResult? Function(ExternalView data)? externalView,
TResult? Function(RecordView data)? recordView,
TResult? Function(RecordWithMediaView data)? recordWithMediaView,
TResult? Function(Map<String, dynamic> data)? unknown,
}) =>
throw _privateConstructorUsedError;