whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? saveComplaintType()?,
- TResult? saveAddress(
- PgrAddressModel addressModel
- TResult? saveComplaintDetails(
- ComplaintsDetailsModel complaintsDetailsModel,
- BoundaryModel boundaryModel
- TResult? submitComplaint(
- String userId
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;