Response.text constructor
Response.text({})
Implementation
Response.text({
required this.statusCode,
this.data,
this.headers = const {
HttpHeaders.contentTypeHeader: 'text/plain',
},
}) : contentType = 'text/plain';