MBAutomationEvent constructor
Initializes an event with the parameters passed. Timestamp is set with DateTime.now()
.
@param event The name of the event.
@param name The name of the event.
@param metadata Additional metadata for the event.
Implementation
MBAutomationEvent({
required this.event,
this.name,
this.metadata,
}) : id = null,
timestamp = DateTime.now();