JSCFunctionListEntryAlias constructor

JSCFunctionListEntryAlias(
  1. String name,
  2. int base, {
  3. bool autoDispose = true,
})

Implementation

JSCFunctionListEntryAlias(this.name, this.base, {bool autoDispose = true})
  : _ref =
        calloc.call<JSCFunctionListEntryAlias_>(
            sizeOf<JSCFunctionListEntryAlias_>(),
          )
          ..ref.base = base
          ..ref.name = name.toNativeUtf8() {
  attach(calloc.nativeFree, _ref.cast(), autoDispose: autoDispose);
}