copyWith method

SafetyCommonModel copyWith({
  1. SafetyEvaluation? ivc,
  2. SafetyEvaluation? nonIvc,
})

Implementation

SafetyCommonModel copyWith(
    {SafetyEvaluation? ivc, SafetyEvaluation? nonIvc}) {
  return SafetyCommonModel(
      ivc: ivc ?? this.ivc, nonIvc: nonIvc ?? this.nonIvc);
}