copyWith method

BoardConfigBean copyWith({
  1. int? id,
  2. String? name,
  3. String? type,
  4. String? self,
  5. BoardConfigBeanLocation? location,
  6. BoardConfigBeanFilter? filter,
  7. BoardConfigBeanSubQuery? subQuery,
  8. BoardConfigBeanColumnConfig? columnConfig,
  9. BoardConfigBeanEstimation? estimation,
  10. BoardConfigBeanRanking? ranking,
})

Implementation

BoardConfigBean copyWith(
    {int? id,
    String? name,
    String? type,
    String? self,
    BoardConfigBeanLocation? location,
    BoardConfigBeanFilter? filter,
    BoardConfigBeanSubQuery? subQuery,
    BoardConfigBeanColumnConfig? columnConfig,
    BoardConfigBeanEstimation? estimation,
    BoardConfigBeanRanking? ranking}) {
  return BoardConfigBean(
    id: id ?? this.id,
    name: name ?? this.name,
    type: type ?? this.type,
    self: self ?? this.self,
    location: location ?? this.location,
    filter: filter ?? this.filter,
    subQuery: subQuery ?? this.subQuery,
    columnConfig: columnConfig ?? this.columnConfig,
    estimation: estimation ?? this.estimation,
    ranking: ranking ?? this.ranking,
  );
}