Honoring Asian Pacific American Heritage Month. See how.

filterForNodeReference method

*[<Null safety>](https://dart.dev/null-safety)*

dynamic filterForNodeReference (dynamic flags)

Filter flags when OpenFlags.nodeReference is passed. This will maintain compatibility with c++ layer.

Implementation

OpenFlags filterForNodeReference(OpenFlags flags) {
  if (Flags.isNodeReference(flags)) {
    return flags &
        (OpenFlags.nodeReference | OpenFlags.directory | OpenFlags.describe);
  }
  return flags;
}