fromJson static method

AgentTextContent fromJson(
  1. Map<String, dynamic> json
)
override

Implementation

static AgentTextContent fromJson(Map<String, dynamic> json) {
  return AgentTextContent(text: json['text'] as String);
}