mirrored_repositories/Flutter_Hacktoberfest_2021/CoviCo/lib/blocs
import 'package:covico/blocs/base/baseEvent.dart';
import 'package:covico/data/models/district_wise_model.dart';
import 'package:covico/data/models/state_model.dart';
import 'package:flutter/cupertino.dart';

class StateDataEvent extends BaseEvent {}

class GetSeriesDataEvent extends BaseEvent {
  final List<CasesTimeSeries> casesTimeSeries;

  GetSeriesDataEvent({@required this.casesTimeSeries})
      : assert(casesTimeSeries != null);
}

class GetDistrictDataEvent extends BaseEvent {}

class GetDistrictSeriesEvent extends BaseEvent {
  final List<DistrictData> districtDataList;

  GetDistrictSeriesEvent({@required this.districtDataList})
      : assert(districtDataList != null);
}
