Recommendation.from constructor
Recommendation.from({
- required String userId,
- required double score,
- required String reason,
- required String reasonPhrase,
- required RecommendedUser user,
Returns the new instance of Recommendation based on arguments.
Implementation
Recommendation.from({
required this.userId,
required this.score,
required this.reason,
required this.reasonPhrase,
required this.user,
});