RelayDeliveryTarget constructor
const
RelayDeliveryTarget({
- required String eventId,
- required String relayUrl,
- required RelayDeliveryReason reason,
- RelayDeliveryState state = RelayDeliveryState.pending,
- int attemptCount = 0,
- int? lastAttemptAt,
- int? nextRetryAt,
- String? lastError,
- 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,
});