toJson method
Implementation
@override
Object toJson() => {
if (attributedItems.isNotDefault)
'attributedItems': encodeList(attributedItems),
if (queryType.isNotDefault) 'queryType': queryType.toJson(),
if (outlierScore.isNotDefault) 'outlierScore': encodeDouble(outlierScore),
if (outlierThreshold.isNotDefault)
'outlierThreshold': encodeDouble(outlierThreshold),
};