1
0
Fork 0
mrtiboute/lib/classes/stream_element.dart

14 lines
257 B
Dart
Raw Normal View History

2022-04-14 21:57:32 +02:00
import 'package:uuid/uuid.dart';
enum StreamElementType { log, alert }
class StreamElement {
StreamElement(this.type, this.message) {
uuid = const Uuid().v4();
}
late final String uuid;
final String message;
final StreamElementType type;
}