HierarchySegment constructor

const HierarchySegment(
  1. String name, {
  2. Parameters? pathParams,
  3. Parameters? queryParams,
  4. List<HierarchySegment> children = const [],
})

Default constructor

Implementation

const HierarchySegment(
  this.name, {
  this.pathParams,
  this.queryParams,
  this.children = const [],
});