post method Null safety

Future<TestResponse> post()

Executes this request with HTTP POST.

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

Implementation

Future<TestResponse> post() {
  return _executeRequest("POST");
}