GatewayHandoffEvent constructor

GatewayHandoffEvent({
  1. required GatewayHandoffEventType type,
  2. required String idempotencyKey,
  3. DateTime? timestamp,
  4. int? attempt,
  5. GatewayHandoffResponse? response,
  6. GatewayError? error,
})

Implementation

GatewayHandoffEvent({
  required this.type,
  required this.idempotencyKey,
  DateTime? timestamp,
  this.attempt,
  this.response,
  this.error,
}) : timestamp = timestamp ?? DateTime.now().toUtc();