getItemVector method

Float32List getItemVector(
  1. int itemId
)

Get item vector with id

Implementation

Float32List getItemVector(int itemId) {
  final vecPtr = calloc.allocate<Float>(dimension * 4);
  _factory._getItemVector(_ptr, itemId, vecPtr);
  return vecPtr.asTypedList(dimension);
}