isUrlEncoded static method

bool isUrlEncoded(
  1. ContentType? contentType
)

http request data is application/x-www-form-urlencoded

Implementation

static bool isUrlEncoded(ContentType? contentType) {
  return contentType?.mimeType.toLowerCase() ==
      'application/x-www-form-urlencoded';
}