RelayDeliveryTarget constructor

const RelayDeliveryTarget({
  1. required String eventId,
  2. required String relayUrl,
  3. required RelayDeliveryReason reason,
  4. RelayDeliveryState state = RelayDeliveryState.pending,
  5. int attemptCount = 0,
  6. int? lastAttemptAt,
  7. int? nextRetryAt,
  8. String? lastError,
  9. String? lastOkMessage,
})

Implementation

const RelayDeliveryTarget({
  required this.eventId,
  required this.relayUrl,
  required this.reason,
  this.state = RelayDeliveryState.pending,
  this.attemptCount = 0,
  this.lastAttemptAt,
  this.nextRetryAt,
  this.lastError,
  this.lastOkMessage,
});