copyWith method

JsonStyleScheme copyWith({
  1. TextStyle? keysStyle,
  2. TextStyle? valuesStyle,
  3. JsonQuotation? quotation,
  4. Widget? arrow,
  5. bool? openAtStart,
  6. int? depth,
})

copy another JsonStyleScheme

Implementation

JsonStyleScheme copyWith({
  TextStyle? keysStyle,
  TextStyle? valuesStyle,
  JsonQuotation? quotation,
  Widget? arrow,
  bool? openAtStart,
  int? depth,
}) {
  return JsonStyleScheme(
    keysStyle: keysStyle ?? this.keysStyle,
    valuesStyle: valuesStyle ?? this.valuesStyle,
    quotation: quotation ?? this.quotation,
    arrow: arrow ?? this.arrow,
    openAtStart: openAtStart ?? this.openAtStart,
    depth: depth ?? this.depth,
  );
}