CascadeNode<T> constructor

const CascadeNode<T>({
  1. required String id,
  2. required String label,
  3. List<CascadeNode<T>> children = const [],
  4. T? value,
})

Creates a node for the cascade filter.

Implementation

const CascadeNode({
  required this.id,
  required this.label,
  this.children = const [],
  this.value,
});