copyWith method
Implementation
TerminalPaletteSnapshot copyWith({
String? foregroundHex,
String? backgroundHex,
String? cursorHex,
Map<int, String>? palette,
}) {
return TerminalPaletteSnapshot(
foregroundHex: foregroundHex ?? this.foregroundHex,
backgroundHex: backgroundHex ?? this.backgroundHex,
cursorHex: cursorHex ?? this.cursorHex,
palette: palette ?? this.palette,
);
}