maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult loading()?,
  2. TResult initialState()?,
  3. TResult fetched(
    1. Map<String, MetricWrapper>? metricData,
    2. List<TableWrapper>? tableData,
    3. DateTime? selectedDate,
    4. bool? isNetworkError,
    )?,
  4. TResult error()?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function()? loading,
  TResult Function()? initialState,
  TResult Function(
          Map<String, MetricWrapper>? metricData,
          List<TableWrapper>? tableData,
          DateTime? selectedDate,
          bool? isNetworkError)?
      fetched,
  TResult Function()? error,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;