post method

Future<Response> post(
  1. Object url, {
  2. Object? json,
  3. Object? body,
  4. Map<String, String> headers = const <String, String>{},
  5. String? idempotencyKey,
  6. int? attempts,
})

Implementation

Future<Response> post(Object url,
        {Object? json,
        Object? body,
        Map<String, String> headers = const <String, String>{},
        String? idempotencyKey,
        int? attempts}) =>
    send('POST', url,
        json: json,
        body: body,
        headers: headers,
        idempotencyKey: idempotencyKey,
        attempts: attempts);