tailString function
Returns everything but the first character.
Implementation
String? tailString(String s) {
if (s.isEmpty) {
return null;
}
List<int> codes = List.from(s.codeUnits);
codes.removeAt(0);
return String.fromCharCodes(codes);
}