ReviewsData constructor

ReviewsData({
  1. String id = "",
  2. int rating = 0,
  3. String text = "",
  4. required List<ImageData> images,
  5. String user = "",
  6. String serviceId = "",
  7. String serviceName = "",
  8. String providerId = "",
  9. String userName = "",
  10. String userAvatar = "",
  11. required DateTime time,
  12. bool delete = false,
  13. required DateTime timeModify,
})

Implementation

ReviewsData({this.id = "", this.rating = 0, this.text = "", required this.images, this.user = "",
  this.serviceId = "", this.serviceName = "", this.providerId = "", this.userName = "",
  this.userAvatar = "", required this.time, this.delete = false, required this.timeModify,});