setPosition method

int setPosition(
  1. int position
)

Implementation

int setPosition(int position) => ptr.ref.vtable
    .elementAt(10)
    .cast<Pointer<NativeFunction<Int32 Function(Pointer, Int32 position)>>>()
    .value
    .asFunction<
        int Function(Pointer, int position)>()(ptr.ref.lpVtbl, position);