whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? handleSearch(
    1. DateTime? selectedDate,
    2. bool? isNetworkError
    )?,
  2. TResult? handleRefresh(
    1. DateTime selectedDate,
    2. String projectId,
    3. bool syncFromServer
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(DateTime? selectedDate, bool? isNetworkError)?
      handleSearch,
  TResult? Function(
          DateTime selectedDate, String projectId, bool syncFromServer)?
      handleRefresh,
}) =>
    throw _privateConstructorUsedError;