MutationResult.fromJson constructor

MutationResult.fromJson(Map _json)

Implementation

MutationResult.fromJson(core.Map _json) {
  if (_json.containsKey("conflictDetected")) {
    conflictDetected = _json["conflictDetected"];
  }
  if (_json.containsKey("key")) {
    key = new Key.fromJson(_json["key"]);
  }
  if (_json.containsKey("version")) {
    version = _json["version"];
  }
}