copyWithWrapped method
Implementation
EventOutcomeDTO copyWithWrapped(
{Wrapped<String?>? result, Wrapped<String?>? reason}) {
return EventOutcomeDTO(
result: (result != null ? result.value : this.result),
reason: (reason != null ? reason.value : this.reason));
}