NiceNestableItem<T> constructor

const NiceNestableItem<T>({
  1. required String id,
  2. required T data,
  3. List<NiceNestableItem<T>> children = const [],
  4. bool expanded = true,
})

Implementation

const NiceNestableItem({
  required this.id,
  required this.data,
  this.children = const [],
  this.expanded = true,
});