currentHash property

String get currentHash

The current browser hash, including the leading #.

Implementation

String get currentHash => web.window.location.hash;