dvHostedPath function

String dvHostedPath(
  1. String path, {
  2. String at = '/',
})

The host path for a Dartvel path mounted at at: what a host passes to Navigator.pushNamed for DVRoutes.about.path.

Implementation

String dvHostedPath(String path, {String at = '/'}) =>
    at == '/' ? path : (path == '/' ? at : '$at$path');