Recommendation.fromJson constructor

Recommendation.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Recommendation.fromJson(Map<String, dynamic> json) {
  return Recommendation(
    text: json['Text'] as String?,
    url: json['Url'] as String?,
  );
}