Level1 constructor

const Level1(
  1. String id,
  2. String name,
  3. Type type,
  4. List<Level2> children,
)

Creates a level 1 entity.

Implementation

const Level1(String id, String name, Type type, List<Level2> children)
    : super(id, name, type, children);