DocumentDelete.fromJson constructor

DocumentDelete.fromJson(Map _json)

Implementation

DocumentDelete.fromJson(core.Map _json) {
  if (_json.containsKey("document")) {
    document = _json["document"];
  }
  if (_json.containsKey("readTime")) {
    readTime = _json["readTime"];
  }
  if (_json.containsKey("removedTargetIds")) {
    removedTargetIds =
        (_json["removedTargetIds"] as core.List).cast<core.int>();
  }
}