copyWith method
TransferReceivedInfo
copyWith({
- int? amountInCents,
- String? amountLocalized,
- DateTime? createdAt,
- String? transferId,
- AccountInfo? sender,
Implementation
TransferReceivedInfo copyWith({
int? amountInCents,
String? amountLocalized,
DateTime? createdAt,
String? transferId,
AccountInfo? sender,
}) {
return TransferReceivedInfo(
amountInCents: amountInCents ?? this.amountInCents,
amountLocalized: amountLocalized ?? this.amountLocalized,
createdAt: createdAt ?? this.createdAt,
transferId: transferId ?? this.transferId,
sender: sender ?? this.sender,
);
}