toJson method
Implementation
Map<String, dynamic> toJson() {
return Map<String, dynamic>.from({
"chatbotPlugin": chatbotPlugin,
"src": src.index,
"chunks": chunks,
"subtype": subtype,
"content": content.toJson(),
"robotID": robotID,
"isFinished": isFinished,
"msgID": msgID,
});
}