copyWith method

OverridesState copyWith({
  1. Map<ID, Workflow>? workflows,
  2. Map<ID, Override>? overrides,
})

Implementation

OverridesState copyWith({
  Map<ID, Workflow>? workflows,
  Map<ID, Override>? overrides,
}) {
  return OverridesState(
    workflows: workflows ?? this.workflows,
    overrides: overrides ?? this.overrides,
  );
}