ResponseFailure<T> constructor

ResponseFailure<T>({
  1. String message = 'failure',
  2. dynamic data,
  3. String? body,
  4. dynamic error,
  5. dynamic extra,
  6. int statusCode = 0,
  7. Map<String, List<String>>? headers,
})

Implementation

ResponseFailure({
  super.message = 'failure',
  data,
  super.body,
  super.error,
  super.extra,
  super.statusCode = 0,
  super.headers,
});