Failure constructor

Failure({
  1. int? statusCode = 100,
  2. String? message = "",
  3. dynamic response,
  4. ErrorModel? error,
  5. String? timestamp,
})

Implementation

Failure({
  this.statusCode = 100,
  this.message = "",
  dynamic response,
  this.error,
  this.timestamp,
});