copyWith method

EventOutcomeDTO copyWith({
  1. String? result,
  2. String? reason,
})

Implementation

EventOutcomeDTO copyWith({String? result, String? reason}) {
  return EventOutcomeDTO(
      result: result ?? this.result, reason: reason ?? this.reason);
}