ReviewDto constructor

ReviewDto(
  1. {required String authorName,
  2. String? authorUrl,
  3. String? profilePhotoUrl,
  4. required int rating,
  5. String? text,
  6. required DateTime time}
)

Implementation

ReviewDto({
  required this.authorName,
  this.authorUrl,
  this.profilePhotoUrl,
  required this.rating,
  this.text,
  required this.time,
});