copyWith method
LinkGroup
copyWith({
- List<
LinkGroup> ? groups, - SimpleLink? header,
- String? id,
- List<
SimpleLink> ? links, - String? styleClass,
- int? weight,
Implementation
LinkGroup copyWith(
{List<LinkGroup>? groups,
SimpleLink? header,
String? id,
List<SimpleLink>? links,
String? styleClass,
int? weight}) {
return LinkGroup(
groups: groups ?? this.groups,
header: header ?? this.header,
id: id ?? this.id,
links: links ?? this.links,
styleClass: styleClass ?? this.styleClass,
weight: weight ?? this.weight,
);
}