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