toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (languageCode != null) 'languageCode': languageCode!,
if (role != null) 'role': role!,
if (text != null) 'text': text!,
};