when<TResult extends Object?> method

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

Implementation

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