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