addWrongGesture method

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

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

Implementation

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