Band constructor

Band({
  1. String id = "",
  2. String email = '',
  3. String name = "",
  4. String description = "",
  5. String photoUrl = "",
  6. String coverImgUrl = "",
  7. UsageReason reason = UsageReason.any,
  8. Price? pricePerHour,
  9. double reviewStars = 10.0,
  10. bool isActive = false,
  11. int createdTime = 0,
  12. int lastSession = 0,
  13. Position? position,
  14. Review? lastReview,
  15. List<String>? bannedGenres,
  16. List<String>? itemmates,
  17. List<String>? eventmates,
  18. List<String>? followers,
  19. List<String>? following,
  20. List<String>? unfollowing,
  21. List<String>? posts,
  22. List<String>? hiddenPosts,
  23. List<String>? hiddenComments,
  24. List<String>? reports,
  25. List<String>? events,
  26. List<String>? reviews,
  27. List<String>? playingEvents,
  28. List<String>? requests,
  29. List<String>? sentRequests,
  30. List<String>? invitationRequests,
})

Implementation

Band({
  this.id = "",
  this.email = '',
  this.name = "",
  this.description = "",
  this.photoUrl = "",
  this.coverImgUrl = "",
  this.reason = UsageReason.any,
  this.pricePerHour,
  this.reviewStars = 10.0,
  this.isActive = false,
  this.createdTime = 0,
  this.lastSession = 0,
  this.position,
  this.lastReview,
  this.bannedGenres,
  this.itemmates,
  this.eventmates,
  this.followers,
  this.following,
  this.unfollowing,
  this.posts,
  this.hiddenPosts,
  this.hiddenComments,
  this.reports,
  this.events,
  this.reviews,
  this.playingEvents,
  this.requests,
  this.sentRequests,
  this.invitationRequests
});