maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult saveComplaintType()?,
- TResult saveAddress()?,
- TResult saveComplaintDetails()?,
- TResult submitComplaint()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(ComplaintsRegistrationSaveComplaintTypeEvent value)?
saveComplaintType,
TResult Function(ComplaintsRegistrationSaveAddressEvent value)? saveAddress,
TResult Function(ComplaintsRegistrationSaveComplaintDetailsEvent value)?
saveComplaintDetails,
TResult Function(ComplaintsRegistrationSubmitComplaintEvent value)?
submitComplaint,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;