createIssue method

  1. @override
Future<HttpResponse> createIssue(
  1. Issue issue,
  2. Configuration configuration
)
override

Implementation

@override
Future<HttpResponse> createIssue(
    Issue issue, Configuration configuration) async {
  String url = getUrl(configuration);
  Map<String, String> headers = getHeaders(configuration);
  Map<String, String> queryParameters = getQueryParameters(issue);

  HttpResponse response = await httpClient.post(
    url,
    headers: headers,
    body: {},
    queryParameters: queryParameters,
  );
  return response;
}