AttributeSegment.from constructor
AttributeSegment.from(
- Characters text,
- Iterable<
TextAttribute> attributes
Create an attribute segment.
Implementation
AttributeSegment.from(this.text, Iterable<TextAttribute> attributes)
: attributes = attributes.toBuiltSet();