copyWith method

Scope copyWith({
  1. ProjectDetails? project,
  2. ScopeType? type,
})

Implementation

Scope copyWith({ProjectDetails? project, ScopeType? type}) {
  return Scope(
    project: project ?? this.project,
    type: type ?? this.type,
  );
}