copyWith method

ThemeNoLinks copyWith({
  1. String? themeKey,
  2. String? name,
  3. String? description,
  4. Icon? icon,
})

Implementation

ThemeNoLinks copyWith(
    {String? themeKey, String? name, String? description, Icon? icon}) {
  return ThemeNoLinks(
    themeKey: themeKey ?? this.themeKey,
    name: name ?? this.name,
    description: description ?? this.description,
    icon: icon ?? this.icon,
  );
}