copyWith method
copy colors from another scheme
Implementation
JsonColorScheme copyWith({
Color? nullColor,
Color? boolColor,
Color? numColor,
Color? stringColor,
Color? normalColor,
Color? markColor,
Color? nullBackground,
}) {
return JsonColorScheme(
nullColor: nullColor ?? this.nullColor,
boolColor: boolColor ?? this.boolColor,
numColor: numColor ?? this.numColor,
stringColor: stringColor ?? this.stringColor,
normalColor: normalColor ?? this.normalColor,
markColor: markColor ?? this.markColor,
nullBackground: nullBackground ?? this.nullBackground,
);
}