post method

Future<String> post(
  1. String url,
  2. Object body,
  3. String id,
  4. Map<String, String> headers, {
  5. bool readCache = true,
  6. bool writeCache = true,
  7. Duration? ttl,
})

Implementation

Future<String> post(
  String url,
  Object body,
  String id,
  Map<String, String> headers, {
  bool readCache = true,
  bool writeCache = true,
  Duration? ttl,
}) =>
    postUri(
      Uri.parse(url),
      body,
      id,
      headers,
      readCache: readCache,
      writeCache: writeCache,
      ttl: ttl,
    );