toJson method
Implementation
Map<String, dynamic> toJson() {
final regionsOfInterest = this.regionsOfInterest;
final wordFilter = this.wordFilter;
return {
if (regionsOfInterest != null) 'RegionsOfInterest': regionsOfInterest,
if (wordFilter != null) 'WordFilter': wordFilter,
};
}