CollatorOptions constructor
CollatorOptions({
- Usage? usage,
- LocaleMatcher? localeMatcher,
- bool? numeric,
- CaseFirst? caseFirst,
- Sensitivity? sensitivity,
- Collation? collation,
- 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,
);