TreeUtil class

@author: cairuoyu @homepage: http://cairuoyu.com @github: https://github.com/cairuoyu/cry、https://github.com/cairuoyu/flutter_admin @date: 2021/6/21 @version: 1.0 @description:

Constructors

TreeUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addTreeData<T extends TreeData>(List<TreeVO<T>> list, T treeData) → dynamic
findChildren<T extends TreeData>(List<TreeVO<T>> list, TreeVO<T> treeVO) → dynamic
findParent<T extends TreeData>(List<TreeVO<T>> list, TreeVO<T> treeVO) bool
getSelected<T extends TreeData>(List<TreeVO<T>> data) List<TreeVO<T>>
toTreeVOList<T extends TreeData>(List<T> data) List<TreeVO<T>>