toMap method
Implementation
Map<String, dynamic> toMap() => {
"rating": rating == null ? null : rating?.toMap(),
"text": text == null ? null : text?.toMap(),
"opnionScale": opnionScale == null ? null : opnionScale?.toMap(),
"email": email == null ? null : email?.toMap(),
"yesOrNo": yesOrNo == null ? null : yesOrNo?.toMap(),
"phoneNumber": phoneNumber == null ? null : phoneNumber?.toMap(),
"multipleChoice":
multipleChoice == null ? null : multipleChoice?.toMap(),
};