toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (delete != null) {
    _json["delete"] = (delete).toJson();
  }
  if (insert != null) {
    _json["insert"] = (insert).toJson();
  }
  if (insertOrUpdate != null) {
    _json["insertOrUpdate"] = (insertOrUpdate).toJson();
  }
  if (replace != null) {
    _json["replace"] = (replace).toJson();
  }
  if (update != null) {
    _json["update"] = (update).toJson();
  }
  return _json;
}