body property Null safety

RequestBody body
final

The request body object.

This object contains the request body if one exists and behavior for decoding it according to this instance's content-type. See RequestBody for details on decoding the body into an object (or objects).

This value is is always non-null. If there is no request body, RequestBody.isEmpty is true.

Implementation

final RequestBody body;