factory UserFeedback.fromJson(Map<String, dynamic> json) { return UserFeedback( type: (json['type'] as String).toFeedbackType(), ); }