body method

dynamic body()

Returns the request body, or null for requests without a body.

Accepted return types: Map, FormData, String, a Stream, a Future<FormData>, or null. Body mixins override this method and set the appropriate Content-Type header automatically.

Implementation

dynamic body() => null;