copyWith method

EpicUpdateBean copyWith({
  1. String? name,
  2. String? summary,
  3. EpicUpdateBeanColor? color,
  4. bool? done,
})

Implementation

EpicUpdateBean copyWith(
    {String? name, String? summary, EpicUpdateBeanColor? color, bool? done}) {
  return EpicUpdateBean(
    name: name ?? this.name,
    summary: summary ?? this.summary,
    color: color ?? this.color,
    done: done ?? this.done,
  );
}