text property

String get text

The text parts joined.

Implementation

String get text => content.where((p) => p.type == 'text').map((p) => p.text ?? '').join();