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