get method Null safety

Future<TestResponse> get()

Executes this request with HTTP GET.

The returned Future will complete with an instance of TestResponse which can be used in test expectations using hasResponse or hasStatus.

Implementation

Future<TestResponse> get() {
  return _executeRequest("GET");
}