KwikpassHealthException constructor

KwikpassHealthException({
  1. int status = 503,
  2. String error = "ServiceUnavailable",
  3. String message = "Kwikpass is unhealthy to make the API calls",
  4. String? timestamp,
})

Implementation

KwikpassHealthException({
  this.status = 503,
  this.error = "ServiceUnavailable",
  this.message = "Kwikpass is unhealthy to make the API calls",
  String? timestamp,
}) : timestamp = timestamp ?? DateTime.now().toIso8601String();