copyWith method

TransferSentInfo copyWith({
  1. int? amountInCents,
  2. String? amountLocalized,
  3. DateTime? createdAt,
  4. String? transferId,
  5. AccountInfo? receiver,
})

Implementation

TransferSentInfo copyWith({
  int? amountInCents,
  String? amountLocalized,
  DateTime? createdAt,
  String? transferId,
  AccountInfo? receiver,
}) {
  return TransferSentInfo(
    amountInCents: amountInCents ?? this.amountInCents,
    amountLocalized: amountLocalized ?? this.amountLocalized,
    createdAt: createdAt ?? this.createdAt,
    transferId: transferId ?? this.transferId,
    receiver: receiver ?? this.receiver,
  );
}