passo_mobile_app/lib/bloc/passo/bulding/location/location_state.dart

27 lines
515 B
Dart
Raw Permalink Normal View History

2023-09-01 03:22:48 +00:00
part of 'location_bloc.dart';
abstract class LocationState extends Equatable {
const LocationState();
@override
List<Object> get props => [];
}
class LocationLoading extends LocationState {}
class LocationLoaded extends LocationState {
LocationLoaded(this.bldgloc);
final BldgLoc bldgloc;
@override
List<Object> get props => [bldgloc];
}
class LocationErrorState extends LocationState {
LocationErrorState(this.error);
final String error;
@override
List<Object> get props => [error];
}