Level2 constructor

const Level2(
  1. int _level1Index,
  2. String id,
  3. String name,
  4. Type type,
  5. List<Level3> children
)

Creates a level 2 entity.

Implementation

const Level2(
  this._level1Index,
  String id,
  String name,
  Type type,
  List<Level3> children,
) : super(id, name, type, children);