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 (createTime != null) {
    _json["createTime"] = createTime;
  }
  if (fields != null) {
    _json["fields"] =
        commons.mapMap<Value, core.Map<core.String, core.Object>>(
            fields, (Value item) => (item).toJson());
  }
  if (name != null) {
    _json["name"] = name;
  }
  if (updateTime != null) {
    _json["updateTime"] = updateTime;
  }
  return _json;
}