factory StatisticalThreshold.fromJson(Map<String, dynamic> json) { return StatisticalThreshold( statistic: json['statistic'] as String?, ); }