IndexConfig constructor
IndexConfig({
- String? langDict,
- String? langIndex,
- List<
int> ? hashIndex, - List<
int> ? wordsFlag, - CollationGraph? collation,
- Iterable<
IndexConfig_IndexInfo> ? allIndexes,
Implementation
factory IndexConfig({
$core.String? langDict,
$core.String? langIndex,
$core.List<$core.int>? hashIndex,
$core.List<$core.int>? wordsFlag,
CollationGraph? collation,
$core.Iterable<IndexConfig_IndexInfo>? allIndexes,
}) {
final _result = create();
if (langDict != null) {
_result.langDict = langDict;
}
if (langIndex != null) {
_result.langIndex = langIndex;
}
if (hashIndex != null) {
_result.hashIndex = hashIndex;
}
if (wordsFlag != null) {
_result.wordsFlag = wordsFlag;
}
if (collation != null) {
_result.collation = collation;
}
if (allIndexes != null) {
_result.allIndexes.addAll(allIndexes);
}
return _result;
}