TreeModel constructor
TreeModel({})
Implementation
TreeModel({
required this.id,
required this.name,
this.namePath = "",
this.isRoot = false,
this.isChoose = false,
this.isExpanded = false,
this.isDisabled = false,
this.isShow = true,
this.parent,
List<TreeModel>? children,
}) : children = children ?? [];