put method Null safety

Future<TestResponse> put()

Executes this request with HTTP PUT.

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

Implementation

Future<TestResponse> put() {
  return _executeRequest("PUT");
}