isValidInput method
Optional method to validate if input can be processed by this codec.
input
The string to validate.
Returns true if the input is valid for this codec, false otherwise.
Implementation
bool isValidInput(String input) => input.isNotEmpty;