TextFragment class
Properties
-
attributes
↔ Map<String, dynamic>?
-
Optional attributes associated with the line data.
getter/setter pair
-
clone
→ TextFragment
-
Creates a deep copy of the current TextFragment instance.
no setter
-
data
↔ Object
-
The main data object associated with the line.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cleanLine()
→ void
-
Clears the data and attributes of the line, setting them to
null
.
-
mergeAttributes(Map<String, dynamic> attrs)
→ void
-
Merges additional
attrs
into the current attributes.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setAttributes(Map<String, dynamic>? attrs)
→ void
-
Sets the attributes of the line to
attrs
.
-
toString()
→ String
-
A string representation of this object.
override