passo_mobile_app/lib/bloc/passo/municipality/municipality_state.dart

29 lines
624 B
Dart
Raw Normal View History

2023-09-01 03:22:48 +00:00
part of 'municipality_bloc.dart';
class MunicipalityState extends Equatable {
const MunicipalityState();
@override
List<Object> get props => [];
}
class MunicipalityInitial extends MunicipalityState {}
class MunicipalityLoading extends MunicipalityState {}
class MunicipalityLoaded extends MunicipalityState {
MunicipalityLoaded(this.municipality);
final List<City> municipality;
@override
List<Object> get props => [municipality];
}
class MunicipalityErrorState extends MunicipalityState {
MunicipalityErrorState(this.error);
final String error;
@override
List<Object> get props => [error];
}