statusCode property Null safety
Returns the status code.
The status code must be set before the body is written
to. Setting the status code after writing to the body will throw
a StateError
.
Implementation
int get statusCode;
Returns the status code.
The status code must be set before the body is written
to. Setting the status code after writing to the body will throw
a StateError
.
int get statusCode;