get path () {
      const { app, service } = data;

      if (!service || !app || !app.services) {
        return null;
      }

      return Object.keys(app.services)
        .find(path => app.services[path] === service);
    }
// A dynamic getter that returns the path of the service
A dynamic getter that returns the path of the service
A dynamic getter that returns the path of the service
get path () {
      const { app, service } = data;
      if (!service || !app || !app.services) {
        return null;
      }
      return Object.keys(app.services)
        .find(path => app.services[path] === service);
    }
get path ( ) { const { app , service } = data ; if ( ! service || ! app || ! app . services ) { return null ; } return Object . keys ( app . services ) . find ( path => app . services [ path ] === service ) ; }
A dynamic getter that returns the path of the service
A dynamic getter that returns the path of the service