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 (columnType != null) {
    _json["columnType"] = columnType;
  }
  if (dataType != null) {
    _json["dataType"] = dataType;
  }
  if (name != null) {
    _json["name"] = name;
  }
  return _json;
}