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, dynamic> body = getBody(issue);

  HttpResponse response = await httpClient.post(
    url,
    headers: headers,
    body: body,
  );

  return response;
}