copyWith method
Implementation
TalkerSettings copyWith({
bool? enabled,
bool? useHistory,
bool? useConsoleLogs,
int? maxHistoryItems,
Map<String, String>? titles,
Map<String, AnsiPen>? colors,
}) {
return TalkerSettings(
useHistory: useHistory ?? _useHistory,
useConsoleLogs: useConsoleLogs ?? _useConsoleLogs,
maxHistoryItems: maxHistoryItems ?? _maxHistoryItems,
enabled: enabled ?? this.enabled,
titles: titles ?? this.titles,
colors: colors ?? this.colors,
);
}