在字符串后追加文本 如果原字符串为null,则不做追加,直接返回null
String? appendEnd(String txt) { if (this == null) { return null; } return this! + txt; }