copyWith method
Implementation
TransactionOverride copyWith(
{DateTime? dateTransacted,
DateTime? 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);
}