maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult loadComplaints(
    1. ComplaintInboxLoadComplaintsEvent value
    )?,
  2. TResult sortComplaints(
    1. ComplaintInboxSortComplaintsEvent value
    )?,
  3. TResult filterComplaints(
    1. ComplaintInboxFilterComplaintsEvent value
    )?,
  4. TResult searchComplaints(
    1. ComplaintInboxSearchComplaintsEvent value
    )?,
  5. TResult saveComplaints(
    1. ComplaintInboxSaveComplaintsEvent value
    )?,
  6. TResult addItem(
    1. ComplaintInboxAddComplaintEvent value
    )?,
  7. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(ComplaintInboxLoadComplaintsEvent value)? loadComplaints,
  TResult Function(ComplaintInboxSortComplaintsEvent value)? sortComplaints,
  TResult Function(ComplaintInboxFilterComplaintsEvent value)?
      filterComplaints,
  TResult Function(ComplaintInboxSearchComplaintsEvent value)?
      searchComplaints,
  TResult Function(ComplaintInboxSaveComplaintsEvent value)? saveComplaints,
  TResult Function(ComplaintInboxAddComplaintEvent value)? addItem,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;