safetyValidate method
Implementation
bool safetyValidate() {
if (currentState == null) return false;
if (!currentState!.validate()) return false;
return true;
}
bool safetyValidate() {
if (currentState == null) return false;
if (!currentState!.validate()) return false;
return true;
}