update method
- T value
Updates data with new data.
Implementation
void update(T value) {
if (!checkVersion(value)) return;
services.files.logData(value);
data.mergeFromMessage(value);
notifyListeners();
}
Updates data with new data.
void update(T value) {
if (!checkVersion(value)) return;
services.files.logData(value);
data.mergeFromMessage(value);
notifyListeners();
}