whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? complaints(
    1. bool loading,
    2. bool isFiltered,
    3. List<PgrServiceModel> complaints,
    4. List<PgrServiceModel> filteredComplaints,
    5. PgrFilters? filters,
    6. PgrSearchKeys? searchKeys,
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(
          bool loading,
          bool isFiltered,
          List<PgrServiceModel> complaints,
          List<PgrServiceModel> filteredComplaints,
          PgrFilters? filters,
          PgrSearchKeys? searchKeys)?
      complaints,
}) =>
    throw _privateConstructorUsedError;