urlencoded method

void urlencoded(
  1. Map<String, String> value
)

Writes the given map of key-value pairs as a URL-encoded string.

Implementation

void urlencoded(Map<String, String> value) {
  this
    ..contentType = contentType
    ..text(Uri(queryParameters: value).query);
}