SurveyAnswer.fromMap constructor
Implementation
factory SurveyAnswer.fromMap(Map<String, dynamic> map) {
// The survey delegate emits camelCase `questionId` (matching
// the native forwarder). Read/write camelCase so this public model stays
// consistent with the runtime shape.
return SurveyAnswer(
questionId: map['questionId'] as String? ?? '',
answer: map['answer'],
);
}