bool isPathWithIndex(String path) { final servicePath = path.split('/'); return servicePath.length == 4 && servicePath[3] == '0'; }