@override Object toJson() => { 'name': name, 'featureStatsAndAnomalySpec': ?featureStatsAndAnomalySpec?.toJson(), };