toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (shardsCount != null) 'shardsCount': shardsCount!,
      if (sparseVectorsCount != null)
        'sparseVectorsCount': sparseVectorsCount!,
      if (vectorsCount != null) 'vectorsCount': vectorsCount!,
    };