@override Object toJson() => { if (toolNameMatchMetricValues.isNotDefault) 'toolNameMatchMetricValues': encodeList(toolNameMatchMetricValues), };