onUserAction method

void onUserAction(
  1. UserAction action
)

Record a user action so future suggestions can be context-aware.

Implementation

void onUserAction(UserAction action) {
  _seenActions.add(action);
}