copyWith method
Create a copy with updated phase.
Implementation
ScopeInfo copyWith({ScopePhase? phase}) {
return ScopeInfo(
id: id,
name: name,
phase: phase ?? this.phase,
startedAt: startedAt,
scope: scope,
);
}
Create a copy with updated phase.
ScopeInfo copyWith({ScopePhase? phase}) {
return ScopeInfo(
id: id,
name: name,
phase: phase ?? this.phase,
startedAt: startedAt,
scope: scope,
);
}