maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult saveComplaintType()?,
- TResult saveAddress(
- PgrAddressModel addressModel
- TResult saveComplaintDetails(
- ComplaintsDetailsModel complaintsDetailsModel,
- BoundaryModel boundaryModel
- TResult submitComplaint(
- String userId
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(String complaintType, String? otherComplaintDescription)?
saveComplaintType,
TResult Function(PgrAddressModel addressModel)? saveAddress,
TResult Function(ComplaintsDetailsModel complaintsDetailsModel,
BoundaryModel boundaryModel)?
saveComplaintDetails,
TResult Function(String userId)? submitComplaint,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;