copy method

PreConfig copy({
  1. EdgeInsetsGeometry? padding,
  2. Decoration? decoration,
  3. EdgeInsetsGeometry? margin,
  4. TextStyle? textStyle,
  5. TextStyle? styleNotMatched,
  6. CodeWrapper? wrapper,
  7. Map<String, TextStyle>? theme,
  8. String? language,
})

copy by other params

Implementation

PreConfig copy({
  EdgeInsetsGeometry? padding,
  Decoration? decoration,
  EdgeInsetsGeometry? margin,
  TextStyle? textStyle,
  TextStyle? styleNotMatched,
  CodeWrapper? wrapper,
  Map<String, TextStyle>? theme,
  String? language,
}) {
  return PreConfig(
    padding: padding ?? this.padding,
    decoration: decoration ?? this.decoration,
    margin: margin ?? this.margin,
    textStyle: textStyle ?? this.textStyle,
    styleNotMatched: styleNotMatched ?? this.styleNotMatched,
    wrapper: wrapper ?? this.wrapper,
    theme: theme ?? this.theme,
    language: language ?? this.language,
  );
}