blob: c1b5fced82975100299b813137ffc0bc6d302b34 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
class LogWriter {
final Function updateCallback; // Takes in Map<String, String> data
LogWriter(this.updateCallback);
Map<String, String> _data;
void write(Map<String, String> data) {
_data = data;
updateCallback(_data);
}
}