TreeModel class

Constructors

TreeModel({required String id, required String name, String namePath = "", bool isRoot = false, bool isChoose = false, bool isExpanded = false, bool isDisabled = false, bool isShow = true, TreeModel? parent, List<TreeModel>? children})

Properties

children ↔ List<TreeModel>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
getter/setter pair
isChoose ↔ bool
getter/setter pair
isDisabled ↔ bool
getter/setter pair
isExpanded ↔ bool
getter/setter pair
isRoot ↔ bool
getter/setter pair
isShow ↔ bool
getter/setter pair
name ↔ String
getter/setter pair
namePath ↔ String
getter/setter pair
parent ↔ TreeModel?
getter/setter pair
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