String getRawUrl(String repository, String filePath) { var rawHost = repository.replaceAll('github', 'raw.githubusercontent'); return '$rawHost/refs/heads/main/$filePath'; }