IProvider constructor

IProvider(
  1. FbInterface self
)

Implementation

IProvider(super.self) {
  startIndex = super.startIndex + super.methodCount;
  methodCount = 5;
  var idx = startIndex;
  _attachDatabase =
      Pointer<
            NativeFunction<
              FbInterface Function(
                FbInterface,
                FbInterface,
                Pointer<Utf8>,
                UnsignedInt,
                Pointer<Uint8>,
              )
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _createDatabase =
      Pointer<
            NativeFunction<
              FbInterface Function(
                FbInterface,
                FbInterface,
                Pointer<Utf8>,
                UnsignedInt,
                Pointer<Uint8>,
              )
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _attachServiceManager =
      Pointer<
            NativeFunction<
              FbInterface Function(
                FbInterface,
                FbInterface,
                Pointer<Utf8>,
                UnsignedInt,
                Pointer<Uint8>,
              )
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _shutdown =
      Pointer<
            NativeFunction<
              Void Function(FbInterface, FbInterface, UnsignedInt, Int)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _setDbCryptCallback =
      Pointer<
            NativeFunction<
              Void Function(FbInterface, FbInterface, FbInterface)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
}