copyWith method
Implementation
AssetReportItem copyWith(
{String? itemId,
String? institutionName,
String? institutionId,
DateTime? dateLastUpdated,
List<AccountAssets>? accounts}) {
return AssetReportItem(
itemId: itemId ?? this.itemId,
institutionName: institutionName ?? this.institutionName,
institutionId: institutionId ?? this.institutionId,
dateLastUpdated: dateLastUpdated ?? this.dateLastUpdated,
accounts: accounts ?? this.accounts);
}