isUpper method

bool isUpper([
  1. String char = ''
])

Implementation

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