InteractionEvent constructor
InteractionEvent({
- required String widgetId,
- required InteractionType type,
- dynamic value,
- DateTime? timestamp,
Constructor for creating a new interaction event
Implementation
InteractionEvent({
required this.widgetId,
required this.type,
this.value,
DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();