toPointer static method

Pointer<Void> toPointer(
  1. Vector3d? val
)

Implementation

static Pointer<Void> toPointer(Vector3d? val)  {
    if (val == null) {
      return nullptr;
    }
    final result = malloc<Vector3dNative>();
    result.ref = toNative(val);
    return result.cast();
}