setResultForIdentifier method
Adds a result to the result map with the given identifier.
Used when the result is not a traditional answer result (e.g. signature result). Also used at Form Steps where there are multiple questions asked during a single step.
Implementation
void setResultForIdentifier(String identifier, dynamic result) {
results[identifier] = result;
endDate = DateTime.now();
}