copyWith method
Implementation
Style copyWith({
Color? fg,
Color? bg,
bool? bold,
bool? italic,
bool? underline,
bool? dim,
bool? reverse,
bool? strikethrough,
}) =>
Style(
fg: fg ?? this.fg,
bg: bg ?? this.bg,
bold: bold ?? this.bold,
italic: italic ?? this.italic,
underline: underline ?? this.underline,
dim: dim ?? this.dim,
reverse: reverse ?? this.reverse,
strikethrough: strikethrough ?? this.strikethrough,
);