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