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