request<T> method

Request<T> request<T>()

Implementation

Request<T> request<T>() {
  return Request<T>.http()
    ..method = 'GET'
    ..baseUrl = 'https://www.api.com/'
    ..url = ''
    ..body = RequestBody();
}