isOnPage property

bool get isOnPage

Implementation

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