currentHref property

String get currentHref

Returns the current location.href. Returns '' on non-web platforms.

Implementation

static String get currentHref => impl.currentHref;