DataLangConfig_Index constructor

DataLangConfig_Index({
  1. String? langDict,
  2. String? langTrans,
  3. DataLangConfig_CollationGraph? collation,
  4. int? wordsIndexPos0,
  5. int? wordsFlagPos1,
  6. int? hashTablePos2,
  7. int? hashIndexPos3,
  8. int? wordsTablePos4,
  9. int? indexEndPos5,
  10. Map<String, int>? fileLengths,
  11. int? wordsCount,
})

Implementation

factory DataLangConfig_Index({
  $core.String? langDict,
  $core.String? langTrans,
  DataLangConfig_CollationGraph? collation,
  $core.int? wordsIndexPos0,
  $core.int? wordsFlagPos1,
  $core.int? hashTablePos2,
  $core.int? hashIndexPos3,
  $core.int? wordsTablePos4,
  $core.int? indexEndPos5,
  $core.Map<$core.String, $core.int>? fileLengths,
  $core.int? wordsCount,
}) {
  final _result = create();
  if (langDict != null) {
    _result.langDict = langDict;
  }
  if (langTrans != null) {
    _result.langTrans = langTrans;
  }
  if (collation != null) {
    _result.collation = collation;
  }
  if (wordsIndexPos0 != null) {
    _result.wordsIndexPos0 = wordsIndexPos0;
  }
  if (wordsFlagPos1 != null) {
    _result.wordsFlagPos1 = wordsFlagPos1;
  }
  if (hashTablePos2 != null) {
    _result.hashTablePos2 = hashTablePos2;
  }
  if (hashIndexPos3 != null) {
    _result.hashIndexPos3 = hashIndexPos3;
  }
  if (wordsTablePos4 != null) {
    _result.wordsTablePos4 = wordsTablePos4;
  }
  if (indexEndPos5 != null) {
    _result.indexEndPos5 = indexEndPos5;
  }
  if (fileLengths != null) {
    _result.fileLengths.addAll(fileLengths);
  }
  if (wordsCount != null) {
    _result.wordsCount = wordsCount;
  }
  return _result;
}