post method

Future<Response> post(
  1. String uri,
  2. String body,
  3. Authentication? authentication
)

Implementation

Future<http.Response> post(
        String uri, String body, Authentication? authentication) async =>
    await http.post(Uri.parse(_apiUrl.toString() + uri),
        headers: await (_getHeaders(authentication)
            as Future<Map<String, String>?>),
        body: body);