Review.fromJson constructor

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

Implementation

factory Review.fromJson(Map<String, dynamic> json) => Review(
      authorName: json["author_name"],
      authorUrl: json["author_url"],
      language: json["language"],
      originalLanguage: json["original_language"],
      profilePhotoUrl: json["profile_photo_url"],
      rating: json["rating"],
      relativeTimeDescription: json["relative_time_description"],
      text: json["text"],
      time: json["time"],
      translated: json["translated"],
    );