Conditional constructor

Conditional({
  1. List<CaseItem<SchemaItem>>? cases,
  2. Condition? condition,
  3. String? defaultCase,
  4. bool showPending = false,
  5. LayoutConfiguration<ContentItem>? layout,
})

Implementation

Conditional({
  this.cases,
  this.condition,
  this.defaultCase,
  this.showPending = false,
  super.layout,
}) : super(schemaType: Conditional.schemaName);