toJson method
Implementation
@override
Object toJson() => {
if (vectorsCount.isNotDefault) 'vectorsCount': vectorsCount.toString(),
if (sparseVectorsCount.isNotDefault)
'sparseVectorsCount': sparseVectorsCount.toString(),
if (shardsCount.isNotDefault) 'shardsCount': shardsCount,
};