IPluginBase constructor

IPluginBase(
  1. FbInterface self
)

Implementation

IPluginBase(super.self) {
  startIndex = super.startIndex + super.methodCount;
  methodCount = 2;
  var idx = startIndex;
  _setOwner = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _getOwner =
      Pointer<NativeFunction<FbInterface Function(FbInterface)>>.fromAddress(
              vtable[idx++])
          .asFunction();
}