copyWith method

CollationOptions copyWith({
  1. Usage? usage,
  2. Sensitivity? sensitivity,
  3. bool? ignorePunctuation,
  4. bool? numeric,
  5. CaseFirst? caseFirst,
  6. String? collation,
  7. 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,
  );
}