post method

Future<Response> post (
  1. dynamic url,
  2. {Map<String, String> headers,
  3. dynamic body}
)

Implementation

Future<Response> post(dynamic url, {Map<String, String> headers, dynamic body}) async {
  final config = await _setup(headers);
  return _client.post(_buildUrl(url), headers: config.headers, body: body);
}