postAsync method

Future<Response> postAsync(
  1. String requestUri,
  2. String data
)

Implementation

Future<global.Response> postAsync(String requestUri, String data) async {
  return await httpClient!.post(Uri.parse(requestUri),
      headers: {"Content-Type": "application/json"}, body: data);
}