value property
The value of this tag. Can vary depending on tag type, obtainable from nbtTagType.
Implementation
@override
List<T> get value => children;
set
value
(List<T> val)
Set a new value to this list's children. Automatically adds this
as the
parent of each item in given list val
.
Implementation
set value(List<T> val) {
for (final tag in val) {
tag.parent = this;
}
children = val;
}