feat: Refactor group deletion logic to use tripId and add reset trips functionality
This commit is contained in:
@@ -88,10 +88,10 @@ class UpdateGroup extends GroupEvent {
|
||||
|
||||
// Supprimer un groupe
|
||||
class DeleteGroup extends GroupEvent {
|
||||
final String groupId;
|
||||
final String tripId;
|
||||
|
||||
const DeleteGroup(this.groupId);
|
||||
const DeleteGroup(this.tripId);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [groupId];
|
||||
List<Object?> get props => [tripId];
|
||||
}
|
||||
Reference in New Issue
Block a user