feedback method

  1. @override
Feedback? feedback({
  1. required bool isSoleMatch,
})
override

Should return the warning and suggestions regarding this match.

Implementation

@override
Feedback? feedback({required bool isSoleMatch}) {
  return Feedback(
    warning: turns == 1
        ? Translation.warnings.straightRow
        : Translation.warnings.keyPattern,
    suggestions: <String>[
      Translation.suggestions.longerKeyboardPattern,
    ],
  );
}