postJson method

Future postJson(
  1. String path, {
  2. Object? body,
})

Implementation

Future<dynamic> postJson(String path, {Object? body}) async => _decode(
      await http.post(_url(path), headers: _headers(), body: _encode(body)),
    );