TreeElement constructor

TreeElement([
  1. String? _name,
  2. int _multiplicity = TreeReference.defaultMultiplicity,
  3. bool _isPartial = false
])

Creates an element called name with multiplicity; a null name is only used for the hidden root above an instance's top element.

Implementation

TreeElement([
  this._name,
  this._multiplicity = TreeReference.defaultMultiplicity,
  this._isPartial = false,
]);