Interaction constructor

Interaction({
  1. required String elementId,
  2. required DateTime interactedAt,
})

Constructs a new Interaction instance.

Requires elementId and interactedAt to be specified.

Implementation

Interaction({required this.elementId, required this.interactedAt});