isOff property

bool get isOff

Implementation

bool get isOff {
  if (this.anyOf.isType(bool)) {
    return (this.anyOf.values[this.anyOf.types.indexOf(bool)] as bool) ==
        false;
  }
  return (this.anyOf.values[
              this.anyOf.types.indexOf(SurveyShowQuestionNumbersAnyOf)]
          as SurveyShowQuestionNumbersAnyOf) ==
      SurveyShowQuestionNumbersAnyOf.off;
}