body property

Object? body
final

Body content of the following request.

The body type can be Map, List, String and leave it as Null if the given method is allowed.

It throws InvalidBodyTypeError if body is not in the mentioned type or NonNullBodyRequiredException if body content becomes mandatory for method.

Implementation

final Object? body;