From 5094554475a2f80242627c609aa54babb9560c52 Mon Sep 17 00:00:00 2001 From: gelbeinhalb Date: Wed, 4 Mar 2026 13:35:18 +0100 Subject: [PATCH] set description default --- lib/data/dto/group.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/data/dto/group.dart b/lib/data/dto/group.dart index 0738417..7676b1e 100644 --- a/lib/data/dto/group.dart +++ b/lib/data/dto/group.dart @@ -13,10 +13,11 @@ class Group { String? id, DateTime? createdAt, required this.name, - required this.description, + String? description, required this.members, }) : id = id ?? const Uuid().v4(), - createdAt = createdAt ?? clock.now(); + createdAt = createdAt ?? clock.now(), + description = description ?? ''; @override String toString() {