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 (maxNodes != null) {
    _json["maxNodes"] = maxNodes;
  }
  if (minNodes != null) {
    _json["minNodes"] = minNodes;
  }
  if (mode != null) {
    _json["mode"] = mode;
  }
  return _json;
}