Neue Datenbank Struktur #156
@@ -11,9 +11,10 @@ class Player {
|
|||||||
String? id,
|
String? id,
|
||||||
DateTime? createdAt,
|
DateTime? createdAt,
|
||||||
required this.name,
|
required this.name,
|
||||||
required this.description,
|
String? description,
|
||||||
|
gelbeinhalb marked this conversation as resolved
Outdated
|
|||||||
}) : id = id ?? const Uuid().v4(),
|
}) : id = id ?? const Uuid().v4(),
|
||||||
createdAt = createdAt ?? clock.now();
|
createdAt = createdAt ?? clock.now(),
|
||||||
|
description = description ?? '';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString() {
|
||||||
|
|||||||
Reference in New Issue
Block a user
Description optional
Wieso? Ich dachte wir machen alles als leeren String?
s.o.