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