removeFirstChar method
Removes the first character from the string.
Implementation
String removeFirstChar() =>
// Return empty if too short, otherwise return the substringSafe from the second character.
(length < 1) ? '' : substringSafe(1);
Removes the first character from the string.
String removeFirstChar() =>
// Return empty if too short, otherwise return the substringSafe from the second character.
(length < 1) ? '' : substringSafe(1);