copyWith method

RemoveOptionFromIssuesResult copyWith({
  1. SimpleErrorCollection? errors,
  2. List<int>? modifiedIssues,
  3. List<int>? unmodifiedIssues,
})

Implementation

RemoveOptionFromIssuesResult copyWith(
    {SimpleErrorCollection? errors,
    List<int>? modifiedIssues,
    List<int>? unmodifiedIssues}) {
  return RemoveOptionFromIssuesResult(
    errors: errors ?? this.errors,
    modifiedIssues: modifiedIssues ?? this.modifiedIssues,
    unmodifiedIssues: unmodifiedIssues ?? this.unmodifiedIssues,
  );
}