copyWith method
TrackerConfig
copyWith({
- RecitationSpeed? recitationSpeed,
- MatchingStrictness? matchingStrictness,
- bool? enableEarlyMatching,
- bool? enableAutoReanchor,
- int? reanchorStallThreshold,
Implementation
TrackerConfig copyWith({
RecitationSpeed? recitationSpeed,
MatchingStrictness? matchingStrictness,
bool? enableEarlyMatching,
bool? enableAutoReanchor,
int? reanchorStallThreshold,
}) {
return TrackerConfig(
recitationSpeed: recitationSpeed ?? this.recitationSpeed,
matchingStrictness: matchingStrictness ?? this.matchingStrictness,
enableEarlyMatching: enableEarlyMatching ?? this.enableEarlyMatching,
enableAutoReanchor: enableAutoReanchor ?? this.enableAutoReanchor,
reanchorStallThreshold:
reanchorStallThreshold ?? this.reanchorStallThreshold,
);
}