open method

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

void open (int flags, int mode, String path, InterfaceRequest request, [int parentFlags = Flags.fsRightsDefault])

Implementation

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);
}