update method

void update(
  1. T value
)

Updates data with new data.

Implementation

void update(T value) {
    if (!checkVersion(value)) return;
	services.files.logData(value);
	data.mergeFromMessage(value);
	notifyListeners();
}