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 (feature != null) {
    _json["feature"] = feature;
  }
  if (inputUri != null) {
    _json["inputUri"] = inputUri;
  }
  if (progressPercent != null) {
    _json["progressPercent"] = progressPercent;
  }
  if (segment != null) {
    _json["segment"] = (segment).toJson();
  }
  if (startTime != null) {
    _json["startTime"] = startTime;
  }
  if (updateTime != null) {
    _json["updateTime"] = updateTime;
  }
  return _json;
}