static Pointer<Void> getNativePtr(GraphEdge? obj) { if (obj == null) return Pointer<Void>.fromAddress(0); return (obj as GraphEdge$Impl).ptr; }