match method

  1. @override
bool match(
  1. String input
)
override

Check whether the input meets this prompt condition.

Implementation

@override
bool match(String input) {
  return word != input && word.startsWith(input);
}