passo_mobile_app/lib/bloc/sos/sos_state.dart

28 lines
575 B
Dart
Raw Normal View History

2023-04-11 06:08:10 +00:00
part of 'sos_bloc.dart';
abstract class SosState extends Equatable {
const SosState();
@override
List<Object> get props => [];
}
class SosInitial extends SosState {}
class UserLocationLoaded extends SosState {
final LocationData locationData;
const UserLocationLoaded({required this.locationData});
@override
List<Object> get props => [locationData];
}
class ErrorState extends SosState{
final String message;
const ErrorState({required this.message});
@override
List<Object> get props => [message];
}
class LoadingState extends SosState{
}