isFirstCapital static method

bool isFirstCapital(
  1. String string
)

Implementation

static bool isFirstCapital(String string) {
  if (string.codeUnitAt(0) >= 65 && string.codeUnitAt(0) <= 90) {
    return true;
  }
  return false;
}