mapOrNull<TResult extends Object?> method

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

Implementation

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