text property

String get text

Get the full text content of the response.

Implementation

String get text => segments
    .whereType<TranscriptTextSegment>()
    .map((s) => s.content)
    .join();