copyWith method
CollationOptions
copyWith({
- Usage? usage,
- Sensitivity? sensitivity,
- bool? ignorePunctuation,
- bool? numeric,
- CaseFirst? caseFirst,
- String? collation,
- LocaleMatcher? localeMatcher,
Implementation
CollationOptions copyWith({
Usage? usage,
Sensitivity? sensitivity,
bool? ignorePunctuation,
bool? numeric,
CaseFirst? caseFirst,
String? collation,
LocaleMatcher? localeMatcher,
}) {
return CollationOptions(
usage: usage ?? this.usage,
sensitivity: sensitivity ?? this.sensitivity,
ignorePunctuation: ignorePunctuation ?? this.ignorePunctuation,
numeric: numeric ?? this.numeric,
caseFirst: caseFirst ?? this.caseFirst,
collation: collation ?? this.collation,
localeMatcher: localeMatcher ?? this.localeMatcher,
);
}