setResult method
void
setResult(
- dynamic result
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 setResult(dynamic result) {
setResultForIdentifier(DEFAULT_KEY, result);
endDate = DateTime.now();
}