TextResponse.plain constructor

TextResponse.plain(
  1. String _text, {
  2. int statusCode = 200,
})

Implementation

TextResponse.plain(this._text, {int statusCode = 200})
    : _contentType = '${Mime.plainText};charset=utf-8',
      super(statusCode);