copyWith method
Implementation
TransactionOverride copyWith(
{String? dateTransacted,
String? datePosted,
double? amount,
String? description,
String? currency}) {
return TransactionOverride(
dateTransacted: dateTransacted ?? this.dateTransacted,
datePosted: datePosted ?? this.datePosted,
amount: amount ?? this.amount,
description: description ?? this.description,
currency: currency ?? this.currency);
}