setContentType method

dynamic setContentType(
  1. String contentType
)

Set the contentType for the request.

Implementation

setContentType(String contentType) {
  _api.options.contentType = contentType;
}