copyWith method

GetAccountResponseMessage copyWith({
  1. String? accountId,
  2. String? name,
  3. DateTime? createdAt,
  4. DateTime? updatedAt,
  5. bool? canReceive,
  6. bool? isVerified,
  7. String? lastAccountVerificationRequestStatus,
  8. AccountModel? lastAccountVerificationRequestData,
  9. String? lastAccountVerificationRequestDataFeedback,
  10. int? changePlanType,
  11. int? subscriptionsTrialPeriod,
  12. bool? disableEmails,
  13. WithdrawModel? lastWithdraw,
  14. int? totalSubscriptions,
  15. String? replyToEmail,
  16. bool? runningInTestMode,
  17. bool? isMarketplace,
  18. bool? enableAutoWithdraw,
  19. String? balance,
  20. String? protectedBalance,
  21. String? payableBalance,
  22. String? receivableBalance,
  23. String? commissionBalance,
  24. String? lastMonthVolume,
  25. String? currentVolume,
  26. String? taxesPaidLastMonth,
  27. String? taxesPaidMonth,
  28. String? clientLogoUrl,
  29. String? clientSmallLogoUrl,
  30. 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,
  );
}