JSValuePointer constructor

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

Implementation

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