getCurrentUri function
Implementation
Uri? getCurrentUri() {
try {
return Uri.parse(html.window.location.href);
} catch (_) {
return null;
}
}
Uri? getCurrentUri() {
try {
return Uri.parse(html.window.location.href);
} catch (_) {
return null;
}
}