ConditionalRoute constructor

ConditionalRoute({
  1. Condition? condition,
  2. List<CaseRouteItem>? cases,
  3. String? defaultCase,
  4. required String title,
  5. required String path,
  6. required DateTime createdAt,
  7. required DateTime updatedAt,
  8. required String id,
  9. LayoutConfiguration<ContentItem>? layout,
  10. String? category,
})

Implementation

ConditionalRoute({
  this.condition,
  this.cases,
  this.defaultCase,
  required super.title,
  required super.path,
  required super.createdAt,
  required super.updatedAt,
  required super.id,
  super.layout,
  super.category,
}) : super(schemaType: ConditionalRoute.schemaName, routeType: null);