safetyValidate method

bool safetyValidate()

Implementation

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