*[<Null safety>](https://dart.dev/null-safety)*
void open (int flags, int mode, String path, InterfaceRequest request, [int parentFlags = Flags.fsRightsDefault])
void open(int flags, int mode, String path, InterfaceRequest<Node> request, [int parentFlags = Flags.fsRightsDefault]) { if (type() == direntTypeDirectory) { // dir types should implement this function throw UnimplementedError(); } sendErrorEvent(flags, ZX.ERR_NOT_DIR, request); }