merge method

JsonStyleScheme merge(
  1. JsonStyleScheme? scheme
)

merge another JsonStyleScheme

Implementation

JsonStyleScheme merge(JsonStyleScheme? scheme) {
  if (scheme == null) return this;
  return copyWith(
    keysStyle: scheme.keysStyle,
    valuesStyle: scheme.valuesStyle,
    quotation: scheme.quotation,
    arrow: scheme.arrow,
    openAtStart: scheme.openAtStart,
    depth: scheme.depth,
  );
}