VoiceSharingResponseModel constructor

const VoiceSharingResponseModel({
  1. required VoiceSharingResponseModelStatus status,
  2. dynamic historyItemSampleId,
  3. required int dateUnix,
  4. required List<String> whitelistedEmails,
  5. required String publicOwnerId,
  6. required String originalVoiceId,
  7. required bool financialRewardsEnabled,
  8. required bool freeUsersAllowed,
  9. required bool liveModerationEnabled,
  10. dynamic rate,
  11. dynamic fiatRate,
  12. required int noticePeriod,
  13. dynamic disableAtUnix,
  14. required bool voiceMixingAllowed,
  15. required bool featured,
  16. required VoiceSharingResponseModelCategory category,
  17. dynamic readerAppEnabled,
  18. dynamic imageUrl,
  19. dynamic banReason,
  20. required int likedByCount,
  21. required int clonedByCount,
  22. required String name,
  23. dynamic description,
  24. required Map<String, dynamic> labels,
  25. required VoiceSharingResponseModelReviewStatus reviewStatus,
  26. dynamic reviewMessage,
  27. required bool enabledInLibrary,
  28. dynamic instagramUsername,
  29. dynamic twitterUsername,
  30. dynamic youtubeUsername,
  31. dynamic tiktokUsername,
  32. dynamic moderationCheck,
  33. dynamic readerRestrictedOn,
})

Implementation

const VoiceSharingResponseModel({
  required this.status,
  this.historyItemSampleId,
  required this.dateUnix,
  required this.whitelistedEmails,
  required this.publicOwnerId,
  required this.originalVoiceId,
  required this.financialRewardsEnabled,
  required this.freeUsersAllowed,
  required this.liveModerationEnabled,
  this.rate,
  this.fiatRate,
  required this.noticePeriod,
  this.disableAtUnix,
  required this.voiceMixingAllowed,
  required this.featured,
  required this.category,
  this.readerAppEnabled,
  this.imageUrl,
  this.banReason,
  required this.likedByCount,
  required this.clonedByCount,
  required this.name,
  this.description,
  required this.labels,
  required this.reviewStatus,
  this.reviewMessage,
  required this.enabledInLibrary,
  this.instagramUsername,
  this.twitterUsername,
  this.youtubeUsername,
  this.tiktokUsername,
  this.moderationCheck,
  this.readerRestrictedOn,
});