mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
    throw _privateConstructorUsedError;