getUrl method Null safety

SyncHttpClientRequest getUrl(
  1. Uri uri
)

Send a GET request to the provided URL.

Implementation

static SyncHttpClientRequest getUrl(Uri uri) =>
    SyncHttpClientRequest._('GET', uri, false);