passo_mobile_app/lib/bloc/passo/barangay/barangay_state.dart

29 lines
557 B
Dart

part of 'barangay_bloc.dart';
abstract class BarangayState extends Equatable {
const BarangayState();
@override
List<Object> get props => [];
}
class BarangayInitial extends BarangayState {}
class BarangayLoading extends BarangayState {}
class BarangayLoaded extends BarangayState {
BarangayLoaded(this.brgy);
final List<Brgy> brgy;
@override
List<Object> get props => [brgy];
}
class BarangayErrorState extends BarangayState {
BarangayErrorState(this.error);
final String error;
@override
List<Object> get props => [error];
}