LokotroPayError constructor

LokotroPayError({
  1. required String message,
  2. required String title,
  3. LokotroPayApiResponseCode? errorCode,
  4. String? details,
  5. String? successRedirectUrl,
  6. String? failRedirectUrl,
  7. DateTime? timestamp,
})

Implementation

LokotroPayError({
  required this.message,
  required this.title,
  this.errorCode,
  this.details,
  this.successRedirectUrl,
  this.failRedirectUrl,
  DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();