RPResultPredicate.forBooleanQuestionResult constructor
Result predicate for the boolean answer format RPBooleanAnswerFormat. The expectedValue
here should be a boolean.
Implementation
RPResultPredicate.forBooleanQuestionResult(
{@required RPResultSelector resultSelector, @required bool expectedValue}) {
this._resultSelector = resultSelector;
this.expectedValue = expectedValue;
getPredictionResult = directPredictionResult;
}