String getStringSuffix(String str, [separator = '.']) { if (str.isEmpty) return str; List parts = str.split(separator); return parts.last; }