toJson method

Map<String, dynamic> toJson()

Implementation

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