Map<String, dynamic> toJson() { final Map<String, dynamic> _data = <String, dynamic>{}; _data["burst_rate"] = burstRate; _data["similar_threshold"] = similarThreshold; return _data; }