postToObservant abstract method

Future<ObservantReply?> postToObservant(
  1. String path,
  2. Map<String, Object> body, {
  3. Future<void>? cancel,
})

POSTs body to path and returns the answer whatever its status; null when none came or cancel ended it.

Implementation

Future<ObservantReply?> postToObservant(
  String path,
  Map<String, Object> body, {
  Future<void>? cancel,
});