KnotEvent constructor

KnotEvent({
  1. required Environment environment,
  2. required String event,
  3. required String? merchant,
  4. required Map<String, Object?> metaData,
  5. required Product product,
  6. required String? taskId,
})

Initializes a KnotEvent object.

  • Parameters:
    • event: The event code.
    • environment: The environment which the event propagated from.
    • merchant: The merchant name.
    • metaData: Additional metadata in dictionary format.
    • taskId: The associated task identifier.

Implementation

KnotEvent({
  required this.environment,
  required this.event,
  required this.merchant,
  required this.metaData,
  required this.product,
  required this.taskId
});