currentLocation static method
Returns the current route URI string from the given context.
Example:
final url = BloomRouter.currentLocation(context);
Implementation
static String currentLocation(BuildContext context) {
return GoRouterState.of(context).uri.toString();
}