toRequest method

Request toRequest (
  1. Uri baseUrl
)

Implementation

http.Request toRequest(Uri baseUrl) {
  return http.Request(
      'GET', baseUrl.replace(path: baseUrl.path + _path + urlSuffix));
}