copyWith method

FoxLoggerSettings copyWith({
  1. String? defaultTitle,
  2. bool? enable,
  3. LogLevel? level,
  4. String? lineSymbol,
  5. int? maxLineWidth,
  6. bool? enableColors,
})

Implementation

FoxLoggerSettings copyWith({
  String? defaultTitle,
  bool? enable,
  LogLevel? level,
  String? lineSymbol,
  int? maxLineWidth,
  bool? enableColors,
}) {
  return FoxLoggerSettings(
    defaultTitle: defaultTitle ?? this.defaultTitle,
    enable: enable ?? this.enable,
    level: level ?? this.level,
    lineSymbol: lineSymbol ?? this.lineSymbol,
    maxLineWidth: maxLineWidth ?? this.maxLineWidth,
    enableColors: enableColors ?? this.enableColors,
  );
}