setFinalResult method

void setFinalResult(
  1. dynamic result
)
inherited

Creates an entry for the results map with the default key.

Usually it's used when there's only one result produced by the Question Body

Implementation

void setFinalResult(dynamic result) {
  setResultForIdentifier('result', result);
  endDate = DateTime.now();
}