PromptFeedback.fromJson constructor
Implementation
PromptFeedback.fromJson(Map<String, dynamic> json) {
if (json['safetyRatings'] != null) {
safetyRatings = <SafetyRatings>[];
json['safetyRatings'].forEach((v) {
safetyRatings!.add(SafetyRatings.fromJson(v));
});
}
}