text property
String?
text
Short hand term for the first text message returned by the agent
Implementation
String? get text {
if (message?.text == null || message!.text!.text!.isEmpty) {
print("Theres no texts in this response");
return null;
}
return message!.text!.text![0];
}