Map<String, dynamic> toJson() { final dimensions = this.dimensions; final filterType = this.filterType; return { 'Dimensions': dimensions, 'FilterType': filterType.toValue(), }; }