1
0
Fork 0
This commit is contained in:
Florian RICHER (MrDev023) 2022-04-14 22:48:15 +02:00
parent f2d808f5d3
commit 41b191bdd3
6 changed files with 80 additions and 30 deletions

View file

@ -5,9 +5,11 @@ enum StreamElementType { log, alert }
class StreamElement {
StreamElement(this.type, this.message) {
uuid = const Uuid().v4();
date = DateTime.now();
}
late final String uuid;
late final DateTime date;
final String message;
final StreamElementType type;
}