copyWith method
Implementation
TransferModel copyWith({
String? id,
String? createdAt,
String? amountCents,
String? amountLocalized,
Receiver? receiver,
}) {
return TransferModel(
id: id ?? this.id,
createdAt: createdAt ?? this.createdAt,
amountCents: amountCents ?? this.amountCents,
amountLocalized: amountLocalized ?? this.amountLocalized,
receiver: receiver ?? this.receiver,
);
}