copyWith method

BoardCreateBean copyWith({
  1. String? name,
  2. BoardCreateBeanType? type,
  3. int? filterId,
  4. BoardCreateBeanLocation? location,
})

Implementation

BoardCreateBean copyWith(
    {String? name,
    BoardCreateBeanType? type,
    int? filterId,
    BoardCreateBeanLocation? location}) {
  return BoardCreateBean(
    name: name ?? this.name,
    type: type ?? this.type,
    filterId: filterId ?? this.filterId,
    location: location ?? this.location,
  );
}