bool isUpper([String char = '']) { if (char.isEmpty) return false; return char.codeUnitAt(0) >= 65 && char.codeUnitAt(0) <= 90; }