addCorrectGesture method

void addCorrectGesture(
  1. String type,
  2. String description
)

Adds a correct gesture from the UI to the RPActivityResult with time, correctness, type and description.

Implementation

void addCorrectGesture(String type, String description) {
  result.interactions
      .add(Interaction(DateTime.now(), 'Correct gesture', type, description));
}