toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.plainText != null) {
json[r'plainText'] = this.plainText;
} else {
json[r'plainText'] = null;
}
if (this.template != null) {
json[r'template'] = this.template;
} else {
json[r'template'] = null;
}
json[r'parameters'] = this.parameters;
return json;
}