maybeWhen<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()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;