SmartResponse<T> constructor

const SmartResponse<T>({
  1. T? data,
  2. Response? raw,
  3. dynamic parsedData,
  4. SmartError? error,
  5. dynamic code,
  6. String? message,
  7. String? customErrorMessage,
  8. String? successMessage,
})

Implementation

const SmartResponse({
  this.data,
  this.raw,
  this.parsedData,
  this.error,
  this.code,
  this.message,
  this.customErrorMessage,
  this.successMessage,
});