getQueryParameters method

Map<String, String> getQueryParameters(
  1. Issue issue
)

Implementation

Map<String, String> getQueryParameters(Issue issue) {
  Map<String, String> queryParameters = {
    "title": issue.title,
    "description": issue.body,
    "labels": issue.labels.join(","),
  };

  return queryParameters;
}