Mutation.fromJson constructor

Mutation.fromJson(Map _json)

Implementation

Mutation.fromJson(core.Map _json) {
  if (_json.containsKey("baseVersion")) {
    baseVersion = _json["baseVersion"];
  }
  if (_json.containsKey("delete")) {
    delete = new Key.fromJson(_json["delete"]);
  }
  if (_json.containsKey("insert")) {
    insert = new Entity.fromJson(_json["insert"]);
  }
  if (_json.containsKey("update")) {
    update = new Entity.fromJson(_json["update"]);
  }
  if (_json.containsKey("upsert")) {
    upsert = new Entity.fromJson(_json["upsert"]);
  }
}