Review constructor

const Review({
  1. required String authorName,
  2. required num rating,
  3. required String relativeTimeDescription,
  4. required num time,
  5. String? authorUrl,
  6. String? language,
  7. String? originalLanguage,
  8. String? profilePhotoUrl,
  9. String? text,
  10. bool? translated,
})

Implementation

const Review({
  required this.authorName,
  required this.rating,
  required this.relativeTimeDescription,
  required this.time,
  this.authorUrl,
  this.language,
  this.originalLanguage,
  this.profilePhotoUrl,
  this.text,
  this.translated,
});