isEnclst method

bool isEnclst(
  1. String s
)

Is this string for Enclst file name?

Implementation

bool isEnclst(String s) {
  if (s.endsWith('.enclst')) {
    return true;
  } else {
    return false;
  }
}