openUrl method

Future<bool> openUrl()

Opens the string URL in an external browser application.

Implementation

Future<bool> openUrl() async {
  return launchUrl(uri, mode: LaunchMode.externalApplication);
}