requestBody property Null safety

APIRequestBody? requestBody
read / write

The request body applicable for this operation.

The requestBody is only supported in HTTP methods where the HTTP 1.1 specification RFC7231 has explicitly defined semantics for request bodies. In other cases where the HTTP spec is vague, requestBody SHALL be ignored by consumers.

Implementation

APIRequestBody? requestBody;