toNativeCollection method

IsarCollection<OBJ> toNativeCollection({
  1. required IsarImpl isar,
  2. required Pointer<NativeType> ptr,
  3. required List<int> propertyOffsets,
})

Implementation

IsarCollection<OBJ> toNativeCollection(
    {required IsarImpl isar,
    required Pointer<NativeType> ptr,
    required List<int> propertyOffsets}) {
  return IsarCollectionImpl(
    isar: isar,
    adapter: adapter,
    ptr: ptr,
    idName: idName,
    propertyOffsets: propertyOffsets,
    propertyIds: propertyIds,
    indexIds: indexIds,
    indexTypes: indexTypes,
    linkIds: linkIds,
    backlinkIds: backlinkIds,
    getId: getId,
  );
}