statusCode property

int statusCode

This response's status code.

Implementation

int get statusCode => _statusCode;
void statusCode= (int value)

Implementation

set statusCode(int value) {
  if (!isOpen) {
    throw closed();
  } else {
    _statusCode = value ?? 200;
  }
}