copyWith method

TransferReceivedInfo copyWith({
  1. int? amountInCents,
  2. String? amountLocalized,
  3. DateTime? createdAt,
  4. String? transferId,
  5. 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,
  );
}