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