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