copyWith method
GetAccountResponseMessage
copyWith({
- String? accountId,
- String? name,
- DateTime? createdAt,
- DateTime? updatedAt,
- bool? canReceive,
- bool? isVerified,
- String? lastAccountVerificationRequestStatus,
- AccountModel? lastAccountVerificationRequestData,
- String? lastAccountVerificationRequestDataFeedback,
- int? changePlanType,
- int? subscriptionsTrialPeriod,
- bool? disableEmails,
- WithdrawModel? lastWithdraw,
- int? totalSubscriptions,
- String? replyToEmail,
- bool? runningInTestMode,
- bool? isMarketplace,
- bool? enableAutoWithdraw,
- String? balance,
- String? protectedBalance,
- String? payableBalance,
- String? receivableBalance,
- String? commissionBalance,
- String? lastMonthVolume,
- String? currentVolume,
- String? taxesPaidLastMonth,
- String? taxesPaidMonth,
- String? clientLogoUrl,
- String? clientSmallLogoUrl,
- List<
Information> ? extraInformations,
Implementation
GetAccountResponseMessage copyWith({
String? accountId,
String? name,
DateTime? createdAt,
DateTime? updatedAt,
bool? canReceive,
bool? isVerified,
String? lastAccountVerificationRequestStatus,
AccountModel? lastAccountVerificationRequestData,
String? lastAccountVerificationRequestDataFeedback,
int? changePlanType,
int? subscriptionsTrialPeriod,
bool? disableEmails,
WithdrawModel? lastWithdraw,
int? totalSubscriptions,
String? replyToEmail,
bool? runningInTestMode,
bool? isMarketplace,
bool? enableAutoWithdraw,
String? balance,
String? protectedBalance,
String? payableBalance,
String? receivableBalance,
String? commissionBalance,
String? lastMonthVolume,
String? currentVolume,
String? taxesPaidLastMonth,
String? taxesPaidMonth,
String? clientLogoUrl,
String? clientSmallLogoUrl,
List<Information>? extraInformations,
}) {
return GetAccountResponseMessage(
accountId: accountId ?? this.accountId,
name: name ?? this.name,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
canReceive: canReceive ?? this.canReceive,
isVerified: isVerified ?? this.isVerified,
lastAccountVerificationRequestStatus: lastAccountVerificationRequestStatus ?? this.lastAccountVerificationRequestStatus,
lastAccountVerificationRequestData: lastAccountVerificationRequestData ?? this.lastAccountVerificationRequestData,
lastAccountVerificationRequestDataFeedback: lastAccountVerificationRequestDataFeedback ?? this.lastAccountVerificationRequestDataFeedback,
changePlanType: changePlanType ?? this.changePlanType,
subscriptionsTrialPeriod: subscriptionsTrialPeriod ?? this.subscriptionsTrialPeriod,
disableEmails: disableEmails ?? this.disableEmails,
lastWithdraw: lastWithdraw ?? this.lastWithdraw,
totalSubscriptions: totalSubscriptions ?? this.totalSubscriptions,
replyToEmail: replyToEmail ?? this.replyToEmail,
runningInTestMode: runningInTestMode ?? this.runningInTestMode,
isMarketplace: isMarketplace ?? this.isMarketplace,
enableAutoWithdraw: enableAutoWithdraw ?? this.enableAutoWithdraw,
balance: balance ?? this.balance,
protectedBalance: protectedBalance ?? this.protectedBalance,
payableBalance: payableBalance ?? this.payableBalance,
receivableBalance: receivableBalance ?? this.receivableBalance,
commissionBalance: commissionBalance ?? this.commissionBalance,
lastMonthVolume: lastMonthVolume ?? this.lastMonthVolume,
currentVolume: currentVolume ?? this.currentVolume,
taxesPaidLastMonth: taxesPaidLastMonth ?? this.taxesPaidLastMonth,
taxesPaidMonth: taxesPaidMonth ?? this.taxesPaidMonth,
clientLogoUrl: clientLogoUrl ?? this.clientLogoUrl,
clientSmallLogoUrl: clientSmallLogoUrl ?? this.clientSmallLogoUrl,
extraInformations: extraInformations ?? this.extraInformations,
);
}