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