AttributedText constructor

AttributedText([
  1. String? text,
  2. AttributedSpans? spans
])

Implementation

AttributedText([
  String? text,
  AttributedSpans? spans,
])  : text = text ?? "",
      spans = spans ?? AttributedSpans();