passo_mobile_app/lib/bloc/sos/sos_event.dart

43 lines
922 B
Dart
Raw Normal View History

2023-04-11 06:08:10 +00:00
part of 'sos_bloc.dart';
abstract class SosEvent extends Equatable {
const SosEvent();
@override
List<Object> get props => [];
}
class LoadUserLocation extends SosEvent {
@override
List<Object> get props => [];
}
2023-04-13 08:45:19 +00:00
class SubmitMobile extends SosEvent {
final String mobile1;
final String? mobile2;
const
SubmitMobile({required this.mobile1,required this.mobile2});
@override
List<Object> get props => [];
}
class SendSOS extends SosEvent {
final String msg;
final String requestDate;
const SendSOS({required this.msg, required this.requestDate});
@override
List<Object> get props => [msg, requestDate];
}
class CheckAcknowledgement extends SosEvent {
final String sessionToken;
const CheckAcknowledgement({required this.sessionToken});
@override
List<Object> get props => [sessionToken];
}
class OnDoneRequest extends SosEvent {
@override
List<Object> get props => [];
}