copyWith method
Creates a copy of this scheme with the given fields replaced.
Implementation
HelpColorScheme copyWith({
Color? heading,
Color? command,
Color? option,
Color? description,
Color? error,
Color? emphasis,
Color? namespace,
}) {
return HelpColorScheme(
heading: heading ?? this.heading,
command: command ?? this.command,
option: option ?? this.option,
description: description ?? this.description,
error: error ?? this.error,
emphasis: emphasis ?? this.emphasis,
namespace: namespace ?? this.namespace,
);
}