CafResponse constructor

const CafResponse({
  1. bool cancelled = false,
  2. bool loading = false,
  3. bool loaded = false,
  4. CafErrorResponse? error,
  5. CafSuccessResponse? success,
  6. CafFailureResponse? failure,
  7. CafLog? log,
})

Implementation

const CafResponse({
  this.cancelled = false,
  this.loading = false,
  this.loaded = false,
  this.error,
  this.success,
  this.failure,
  this.log,
});