Collation constructor
Collation({})
Implementation
factory Collation({
$core.String? locale,
$core.bool? caseLevel,
$core.String? caseFirst,
$core.int? strength,
$core.bool? numericOrdering,
$core.String? alternate,
$core.String? maxVariable,
$core.bool? normalization,
$core.bool? backwards,
}) {
final _result = create();
if (locale != null) {
_result.locale = locale;
}
if (caseLevel != null) {
_result.caseLevel = caseLevel;
}
if (caseFirst != null) {
_result.caseFirst = caseFirst;
}
if (strength != null) {
_result.strength = strength;
}
if (numericOrdering != null) {
_result.numericOrdering = numericOrdering;
}
if (alternate != null) {
_result.alternate = alternate;
}
if (maxVariable != null) {
_result.maxVariable = maxVariable;
}
if (normalization != null) {
_result.normalization = normalization;
}
if (backwards != null) {
_result.backwards = backwards;
}
return _result;
}