CollatorOptions constructor

CollatorOptions({
  1. Usage? usage,
  2. LocaleMatcher? localeMatcher,
  3. bool? numeric,
  4. CaseFirst? caseFirst,
  5. Sensitivity? sensitivity,
  6. Collation? collation,
  7. bool? ignorePunctuation,
})

Implementation

factory CollatorOptions({
  _i3.Usage? usage,
  _i3.LocaleMatcher? localeMatcher,
  _i2.bool? numeric,
  _i3.CaseFirst? caseFirst,
  _i3.Sensitivity? sensitivity,
  _i3.Collation? collation,
  _i2.bool? ignorePunctuation,
}) =>
    CollatorOptions._(
      usage: usage?.name ?? _i4.undefined,
      localeMatcher: localeMatcher?.name ?? _i4.undefined,
      numeric: numeric ?? _i4.undefined,
      caseFirst: caseFirst?.name ?? _i4.undefined,
      sensitivity: sensitivity?.name ?? _i4.undefined,
      collation: collation?.name ?? _i4.undefined,
      ignorePunctuation: ignorePunctuation ?? _i4.undefined,
    );