copyWithWrapped method
VoiceSharingResponseModel
copyWithWrapped({
- Wrapped<
VoiceSharingResponseModelStatus> ? status, - Wrapped? historyItemSampleId,
- Wrapped<
int> ? dateUnix, - Wrapped<
List< ? whitelistedEmails,String> > - Wrapped<
String> ? publicOwnerId, - Wrapped<
String> ? originalVoiceId, - Wrapped<
bool> ? financialRewardsEnabled, - Wrapped<
bool> ? freeUsersAllowed, - Wrapped<
bool> ? liveModerationEnabled, - Wrapped? rate,
- Wrapped? fiatRate,
- Wrapped<
int> ? noticePeriod, - Wrapped? disableAtUnix,
- Wrapped<
bool> ? voiceMixingAllowed, - Wrapped<
bool> ? featured, - Wrapped<
VoiceSharingResponseModelCategory> ? category, - Wrapped? readerAppEnabled,
- Wrapped? imageUrl,
- Wrapped? banReason,
- Wrapped<
int> ? likedByCount, - Wrapped<
int> ? clonedByCount, - Wrapped<
String> ? name, - Wrapped? description,
- Wrapped<
Map< ? labels,String, dynamic> > - Wrapped<
VoiceSharingResponseModelReviewStatus> ? reviewStatus, - Wrapped? reviewMessage,
- Wrapped<
bool> ? enabledInLibrary, - Wrapped? instagramUsername,
- Wrapped? twitterUsername,
- Wrapped? youtubeUsername,
- Wrapped? tiktokUsername,
- Wrapped? moderationCheck,
- Wrapped? readerRestrictedOn,
Implementation
VoiceSharingResponseModel copyWithWrapped(
{Wrapped<enums.VoiceSharingResponseModelStatus>? status,
Wrapped<dynamic>? historyItemSampleId,
Wrapped<int>? dateUnix,
Wrapped<List<String>>? whitelistedEmails,
Wrapped<String>? publicOwnerId,
Wrapped<String>? originalVoiceId,
Wrapped<bool>? financialRewardsEnabled,
Wrapped<bool>? freeUsersAllowed,
Wrapped<bool>? liveModerationEnabled,
Wrapped<dynamic>? rate,
Wrapped<dynamic>? fiatRate,
Wrapped<int>? noticePeriod,
Wrapped<dynamic>? disableAtUnix,
Wrapped<bool>? voiceMixingAllowed,
Wrapped<bool>? featured,
Wrapped<enums.VoiceSharingResponseModelCategory>? category,
Wrapped<dynamic>? readerAppEnabled,
Wrapped<dynamic>? imageUrl,
Wrapped<dynamic>? banReason,
Wrapped<int>? likedByCount,
Wrapped<int>? clonedByCount,
Wrapped<String>? name,
Wrapped<dynamic>? description,
Wrapped<Map<String, dynamic>>? labels,
Wrapped<enums.VoiceSharingResponseModelReviewStatus>? reviewStatus,
Wrapped<dynamic>? reviewMessage,
Wrapped<bool>? enabledInLibrary,
Wrapped<dynamic>? instagramUsername,
Wrapped<dynamic>? twitterUsername,
Wrapped<dynamic>? youtubeUsername,
Wrapped<dynamic>? tiktokUsername,
Wrapped<dynamic>? moderationCheck,
Wrapped<dynamic>? readerRestrictedOn}) {
return VoiceSharingResponseModel(
status: (status != null ? status.value : this.status),
historyItemSampleId: (historyItemSampleId != null
? historyItemSampleId.value
: this.historyItemSampleId),
dateUnix: (dateUnix != null ? dateUnix.value : this.dateUnix),
whitelistedEmails: (whitelistedEmails != null
? whitelistedEmails.value
: this.whitelistedEmails),
publicOwnerId:
(publicOwnerId != null ? publicOwnerId.value : this.publicOwnerId),
originalVoiceId: (originalVoiceId != null
? originalVoiceId.value
: this.originalVoiceId),
financialRewardsEnabled: (financialRewardsEnabled != null
? financialRewardsEnabled.value
: this.financialRewardsEnabled),
freeUsersAllowed: (freeUsersAllowed != null
? freeUsersAllowed.value
: this.freeUsersAllowed),
liveModerationEnabled: (liveModerationEnabled != null
? liveModerationEnabled.value
: this.liveModerationEnabled),
rate: (rate != null ? rate.value : this.rate),
fiatRate: (fiatRate != null ? fiatRate.value : this.fiatRate),
noticePeriod:
(noticePeriod != null ? noticePeriod.value : this.noticePeriod),
disableAtUnix:
(disableAtUnix != null ? disableAtUnix.value : this.disableAtUnix),
voiceMixingAllowed: (voiceMixingAllowed != null
? voiceMixingAllowed.value
: this.voiceMixingAllowed),
featured: (featured != null ? featured.value : this.featured),
category: (category != null ? category.value : this.category),
readerAppEnabled: (readerAppEnabled != null
? readerAppEnabled.value
: this.readerAppEnabled),
imageUrl: (imageUrl != null ? imageUrl.value : this.imageUrl),
banReason: (banReason != null ? banReason.value : this.banReason),
likedByCount:
(likedByCount != null ? likedByCount.value : this.likedByCount),
clonedByCount:
(clonedByCount != null ? clonedByCount.value : this.clonedByCount),
name: (name != null ? name.value : this.name),
description:
(description != null ? description.value : this.description),
labels: (labels != null ? labels.value : this.labels),
reviewStatus:
(reviewStatus != null ? reviewStatus.value : this.reviewStatus),
reviewMessage:
(reviewMessage != null ? reviewMessage.value : this.reviewMessage),
enabledInLibrary: (enabledInLibrary != null
? enabledInLibrary.value
: this.enabledInLibrary),
instagramUsername: (instagramUsername != null
? instagramUsername.value
: this.instagramUsername),
twitterUsername: (twitterUsername != null
? twitterUsername.value
: this.twitterUsername),
youtubeUsername: (youtubeUsername != null
? youtubeUsername.value
: this.youtubeUsername),
tiktokUsername: (tiktokUsername != null
? tiktokUsername.value
: this.tiktokUsername),
moderationCheck: (moderationCheck != null
? moderationCheck.value
: this.moderationCheck),
readerRestrictedOn: (readerRestrictedOn != null
? readerRestrictedOn.value
: this.readerRestrictedOn));
}