TreeNode class

Constructors

TreeNode({int? id, String? title, String? code, bool? isCheck = false, int hierarchy = 0, TreeNode? parent, List<TreeNode> children = const []})
TreeNode.fromJson(dynamic json)

Properties

children ↔ List<TreeNode>
getter/setter pair
code ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
hierarchy ↔ int
getter/setter pair
id ↔ int?
getter/setter pair
isCheck ↔ bool?
getter/setter pair
parent ↔ TreeNode?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title ↔ String?
getter/setter pair
treeConfiguration ↔ TreeConfiguration
getter/setter pair

Methods

copyWith({int? id, String? title, String? code, bool? isCheck, int? hierarchy, TreeNode? parent, List<TreeNode>? children}) → TreeNode
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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