IEventCallback constructor

IEventCallback(
  1. FbInterface self
)

Implementation

IEventCallback(super.self) {
  startIndex = super.startIndex + super.methodCount;
  methodCount = 1;
  _eventCallbackFunction = Pointer<
          NativeFunction<
              Void Function(FbInterface, UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[startIndex])
      .asFunction();
}