Entry_PosObj constructor

Entry_PosObj({
  1. Poses? pos,
  2. Iterable<int>? posDefId,
  3. Iterable<Entry_RawTranslation>? rawTranslation,
  4. Iterable<Entry_WiktSense>? wiktSenses,
  5. Iterable<String>? tempWiktFormsSource,
})

Implementation

factory Entry_PosObj({
  Poses? pos,
  $core.Iterable<$core.int>? posDefId,
  $core.Iterable<Entry_RawTranslation>? rawTranslation,
  $core.Iterable<Entry_WiktSense>? wiktSenses,
  $core.Iterable<$core.String>? tempWiktFormsSource,
}) {
  final _result = create();
  if (pos != null) {
    _result.pos = pos;
  }
  if (posDefId != null) {
    _result.posDefId.addAll(posDefId);
  }
  if (rawTranslation != null) {
    _result.rawTranslation.addAll(rawTranslation);
  }
  if (wiktSenses != null) {
    _result.wiktSenses.addAll(wiktSenses);
  }
  if (tempWiktFormsSource != null) {
    _result.tempWiktFormsSource.addAll(tempWiktFormsSource);
  }
  return _result;
}