init method
- @override
override
Initializes any data needed by this model.
Implementation
@override
Future<void> init() async {
models.messages.stream.onMessage<BurtLog>(
name: BurtLog().messageName,
constructor: BurtLog.fromBuffer,
callback: handleLog,
);
saveToFileTimer = Timer.periodic(saveToFileInterval, saveToFile);
}