maybeWhen<TResult extends Object?> method

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

Implementation

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