JSObjectPointer constructor

JSObjectPointer([
  1. Pointer<NativeType>? value
])

Implementation

JSObjectPointer([Pointer? value])
    : this.count = 1,
      this.pointer = malloc.call<Pointer>(1) {
  pointer.value = value ?? nullptr;
}