removeLastNCharacters: removes the last n characters
String removeLastNCharacters(int n) { if (isNull) return ""; return this!.substring(0, this!.length - n); }