True if all characters match the given test.
test
bool all(bool Function(String element) test) { for (final c in characters) { if (!test(c)) { return false; } } return true; }