Last active
August 28, 2020 14:12
-
-
Save magicleon94/606ccd5327b6a0cdaed23ab3972fbdde to your computer and use it in GitHub Desktop.
regional_report_bloc_state.dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:corona_italy/features/infection_report/bloc/infection_report_bloc_state.dart'; | |
import 'package:corona_italy/features/infection_report/model/regional/regional_report_vm.dart'; | |
abstract class RegionalReportState extends InfectionReportBlocState {} | |
class RegionalReportIdle extends RegionalReportState {} | |
class RegionalReportLoading extends RegionalReportState {} | |
class RegionalReportLoaded extends RegionalReportState { | |
final RegionalReportsVm report; | |
RegionalReportLoaded(this.report); | |
} | |
class RegionalReportLoadingError extends RegionalReportState { | |
final String reason; | |
RegionalReportLoadingError(this.reason); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment