copyWith method
Theme
copyWith({
- String? themeKey,
- String? name,
- String? description,
- Icon? icon,
- GenericLinks? links,
Implementation
Theme copyWith(
{String? themeKey,
String? name,
String? description,
Icon? icon,
GenericLinks? links}) {
return Theme(
themeKey: themeKey ?? this.themeKey,
name: name ?? this.name,
description: description ?? this.description,
icon: icon ?? this.icon,
links: links ?? this.links,
);
}