BodyTransformer typedef
Transforms body of the message.
body
is original body of the message, formed by the library.
It should return an updated body that will be posted to server.
Implementation
typedef BodyTransformer = FutureOr<Map<String, dynamic>> Function(
Map<String, dynamic> body);