UrlRequest.fromStringUrl constructor

UrlRequest.fromStringUrl(
  1. String uriString, {
  2. Map<String, String>? headers,
  3. Object? body,
  4. Encoding? encoding,
})

Implementation

UrlRequest.fromStringUrl(String uriString,
    {this.headers, this.body, this.encoding})
    : url = Uri.parse(uriString);