FetchResult constructor

FetchResult({
  1. dynamic code,
  2. String? message,
  3. String? detail,
  4. String? template,
  5. XmlDocument? document,
})

Implementation

FetchResult({code, this.message, this.detail, this.template, this.document}) {
  this.code = code ?? HttpStatus.ok;
}