reasonPhrase property
String reasonPhraseread / write
Gets and sets the reason phrase. If no reason phrase is explicitly set a default reason phrase is provided.
The reason phrase must be set before the body is written to. Setting the reason phrase after writing to the response body or closing the response will throw a StateError
.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/HttpResponse/reasonPhrase.html