MeshElement class

Inheritance

Constructors

MeshElement({MeshElement? parent, required RuntimeDocument doc, required String tagName, required Map<String, dynamic> attributes, required ElementType elementType})

Properties

doc → RuntimeDocument
finalinherited
elementType → ElementType
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
no setter
parent → MeshElement?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tagName → String
final

Methods

addListener(void listener()) → void
inherited
appendJson(Map<String, dynamic> json) → MeshElement
createChildElement(String tagName, Map<String, dynamic> attributes, {String? id}) → MeshElement
createChildElementAfter(MeshElement element, String tagName, Map<String, dynamic> attributes, {String? id}) → MeshElement
createChildElementAt(int index, String tagName, Map<String, dynamic> attributes, {String? id}) → MeshElement
delete() → void
getAttribute(String name) → dynamic
getChildren() → List<MeshNode>
getElementsByTagName(String tagName) → List<MeshElement>
getNodeByID(String id) → MeshElement?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
inherited
redo() → void
removeAttribute(String name) → void
removeListener(void listener()) → void
inherited
setAttribute(String name, dynamic value) → void
toJson({bool includeIds = false}) → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited
undo() → void

Operators

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