currentPath property

String get currentPath

Get the current path from the browser

Implementation

static String get currentPath {
  if (!Webify.isInitialized) return '/';
  return Webify.instance.platform.currentPath;
}