String reasonPhrase

Returns the reason phrase associated with the status code.

The reason phrase must be set before the body is written to. Setting the reason phrase after writing to the body will throw a StateError.

Source

String get reasonPhrase;