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 (instances != null) {
    _json["instances"] = instances;
  }
  if (minimalAction != null) {
    _json["minimalAction"] = minimalAction;
  }
  if (mostDisruptiveAllowedAction != null) {
    _json["mostDisruptiveAllowedAction"] = mostDisruptiveAllowedAction;
  }
  return _json;
}