ScriptedResponse constructor

const ScriptedResponse({
  1. int status = 200,
  2. Map<String, String> headers = const {'content-type' : 'application/json; charset=utf-8'},
  3. Object? json,
  4. String? body,
  5. List<int>? bytes,
})

Implementation

const ScriptedResponse({
  this.status = 200,
  this.headers = const {'content-type': 'application/json; charset=utf-8'},
  this.json,
  this.body,
  this.bytes,
});