copyWith method

LinkGroupHeader copyWith({
  1. String? id,
  2. String? styleClass,
  3. String? iconClass,
  4. String? label,
  5. String? title,
  6. String? href,
  7. int? weight,
})

Implementation

LinkGroupHeader copyWith(
    {String? id,
    String? styleClass,
    String? iconClass,
    String? label,
    String? title,
    String? href,
    int? weight}) {
  return LinkGroupHeader(
    id: id ?? this.id,
    styleClass: styleClass ?? this.styleClass,
    iconClass: iconClass ?? this.iconClass,
    label: label ?? this.label,
    title: title ?? this.title,
    href: href ?? this.href,
    weight: weight ?? this.weight,
  );
}