copyWith method
Implementation
RequestWithdrawResponseMessage copyWith({
String? operationId,
String? status,
DateTime? createdAt,
DateTime? updatedAt,
Object? reference,
String? amount,
String? accountName,
String? accountId,
BankInfo? bankInfo,
}) {
return RequestWithdrawResponseMessage(
operationId: operationId ?? this.operationId,
status: status ?? this.status,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
reference: reference ?? this.reference,
amount: amount ?? this.amount,
accountName: accountName ?? this.accountName,
accountId: accountId ?? this.accountId,
bankInfo: bankInfo ?? this.bankInfo,
);
}