Fix local dev config and ALOTTTT OFF FLUTTER, im tired boss..

This commit is contained in:
Wowieee4
2026-05-26 21:09:13 +07:00
parent b8ad8df993
commit a629357e8c
72 changed files with 2566 additions and 530 deletions
@@ -0,0 +1,17 @@
class SosEvent {
final int? id;
final String triggerType;
final double? lat;
final double? lng;
final String status;
final DateTime? createdAt;
const SosEvent({
this.id,
required this.triggerType,
this.lat,
this.lng,
this.status = 'TRIGGERED',
this.createdAt,
});
}
@@ -0,0 +1,11 @@
import 'package:dartz/dartz.dart';
import '../../../../core/errors/failures.dart';
abstract class SosRepository {
Future<Either<Failure, void>> triggerSos({
required String triggerType,
double? lat,
double? lng,
});
}