copyWith method
Implementation
ItemStatusInvestments copyWith(
{DateTime? lastSuccessfulUpdate, DateTime? lastFailedUpdate}) {
return ItemStatusInvestments(
lastSuccessfulUpdate: lastSuccessfulUpdate ?? this.lastSuccessfulUpdate,
lastFailedUpdate: lastFailedUpdate ?? this.lastFailedUpdate);
}