whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? loading()?,
- TResult? initialState()?,
- TResult? fetched(
- Map<
String, MetricWrapper> ? metricData, - List<
TableWrapper> ? tableData, - DateTime? selectedDate,
- bool? isNetworkError,
- Map<
- TResult? error()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;