get method

  1. @override
Object? get(
  1. Token name
)
override

Implementation

@override
Object? get(Token name) {
  switch (name.lexeme) {
    case 'body':
      return _response.body;
    case 'bodyBytes':
      return _response.bodyBytes;
    case 'statusCode':
      return _response.statusCode;
    case 'contentLength':
      return _response.contentLength;
    case 'headers':
      return _response.headers;
  }
}