OrchestrationEvent constructor

OrchestrationEvent({
  1. required String name,
  2. required String message,
  3. Map<String, dynamic> data = const <String, dynamic>{},
  4. DateTime? at,
})

Creates an orchestration event.

Implementation

OrchestrationEvent({
  required this.name,
  required this.message,
  this.data = const <String, dynamic>{},
  DateTime? at,
}) : at = at ?? DateTime.now();