getDefaultAnswer method

Answer<V>? getDefaultAnswer()

Implementation

Answer<V>? getDefaultAnswer() {
  if (conditional == null || conditional!.defaultValue == null) return null;
  return Answer.forQuestion(this, conditional!.defaultValue as V);
}