Inlet constructor

const Inlet({
  1. required ViewBuilder<Component> view,
  2. String? name,
  3. Map<String, Object?> meta = const {},
  4. String path = '/',
  5. Iterable<Inlet> children = const [],
  6. Iterable<Guard> guards = const [],
})

Creates a Nocterm route declaration.

Implementation

const Inlet({
  required super.view,
  super.name,
  super.meta,
  super.path = '/',
  Iterable<Inlet> children = const [],
  super.guards = const [],
}) : super(children: children);