isVC method

bool isVC(
  1. String testName
)

Implementation

bool isVC(String testName) {
  String last = testName.split(
      "")[testName.length - 2]; //Check last character excluding space of
  //inputController if consonant or not
  if (_isConsonant(last) ||
      _isVowel(last) ||
      _isPunct(last) ||
      _isDigit(last)) {
    return true;
  }
  return false;
}