DashboardState.fetched constructor

const DashboardState.fetched({
  1. Map<String, MetricWrapper>? metricData,
  2. List<TableWrapper>? tableData,
  3. DateTime? selectedDate,
  4. @Default(false) bool? isNetworkError,
})

Implementation

const factory DashboardState.fetched({
  Map<String, MetricWrapper>? metricData,
  List<TableWrapper>? tableData,
  DateTime? selectedDate,
  @Default(false) bool? isNetworkError,
}) = DashboardFetchedState;