hasValidInput method

bool hasValidInput(
  1. String input
)

Implementation

bool hasValidInput(String input) {
  final symbols = input.split('');
  return symbols.every(alphabet.contains);
}