JSCFunctionListEntryFunc constructor

JSCFunctionListEntryFunc(
  1. int length,
  2. int cproto,
  3. JSCFunctionType _type, {
  4. bool autoDispose = true,
})

Implementation

JSCFunctionListEntryFunc(
  this.length,
  this.cproto,
  this._type, {
  bool autoDispose = true,
}) : _ref =
         calloc.call(sizeOf<JSCFunctionListEntryFunc_>())
           ..ref.length = length
           ..ref.cproto = cproto
           ..ref.cfunc = _type.ref.ref {
  attach(calloc.nativeFree, _ref.cast(), autoDispose: autoDispose);
}