IndexNode_Child constructor

IndexNode_Child({
  1. int? ch,
  2. int? trieChildPos,
  3. int? flag,
  4. Iterable<IndexNode_WordItem>? words,
  5. int? entriesAzureId,
})

Implementation

factory IndexNode_Child({
  $core.int? ch,
  $core.int? trieChildPos,
  $core.int? flag,
  $core.Iterable<IndexNode_WordItem>? words,
  $core.int? entriesAzureId,
}) {
  final _result = create();
  if (ch != null) {
    _result.ch = ch;
  }
  if (trieChildPos != null) {
    _result.trieChildPos = trieChildPos;
  }
  if (flag != null) {
    _result.flag = flag;
  }
  if (words != null) {
    _result.words.addAll(words);
  }
  if (entriesAzureId != null) {
    _result.entriesAzureId = entriesAzureId;
  }
  return _result;
}