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