text property
Get the text content of the response
Implementation
@override
String? get text {
final choices = _rawResponse['choices'] as List?;
if (choices == null || choices.isEmpty) return null;
final message = choices.first['message'] as Map<String, dynamic>?;
return message?['content'] as String?;
}