redirect static method

Future<void> redirect(
  1. Uri authorizationUrl
)

Implementation

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