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