map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult saveComplaintType(
    1. ComplaintsRegistrationSaveComplaintTypeEvent value
    ),
  2. required TResult saveAddress(
    1. ComplaintsRegistrationSaveAddressEvent value
    ),
  3. required TResult saveComplaintDetails(
    1. ComplaintsRegistrationSaveComplaintDetailsEvent value
    ),
  4. required TResult submitComplaint(
    1. ComplaintsRegistrationSubmitComplaintEvent value
    ),
})
inherited

Implementation

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