Review.fromJson constructor

Review.fromJson(
  1. Map json
)

Implementation

factory Review.fromJson(Map json) => json != null
    ? Review(
        json['author_name'],
        json['author_url'],
        json['language'],
        json['profile_photo_url'],
        json['rating'],
        json['relative_time_description'],
        json['text'],
        json['time'])
    : null;