CMSPathResolver typedef

CMSPathResolver = String Function(String path)

A function that resolves a CMS path from a local path. This is useful when multiple local routes use a single template path on the CMS. For example: (Local path) /blog/:slug -> /blog (CMS path)

Implementation

typedef CMSPathResolver = String Function(String path);