chekcXidEnvironment static method
Implementation
static bool chekcXidEnvironment(String xid) {
// create RegExp with pattern
RegExp xidReg = RegExp(xidPattren);
if (xid.length == LengthId && xidReg.hasMatch(xid)) {
return true;
} else {
Flagship.logger(Level.INFO, "The environmentId : \(xid) is not valide ");
return false;
}
}