launchLink static method

void launchLink({
  1. required String link,
})

Implementation

static void launchLink({
  required String link,
}) {
  launchUrl(
    Uri.parse(link).withScheme,
    mode: LaunchMode.externalApplication,
  );
}