redirect static method
Implementation
static Future<void> redirect(Uri authorizationUrl) async {
if (await canLaunchUrl(authorizationUrl)) {
await launchUrl(authorizationUrl, mode: LaunchMode.platformDefault, webOnlyWindowName: "_self");
}
}