openBrowserWithUrl function

Future<void> openBrowserWithUrl(
  1. String url
)

Opens the browser with preset url.

Implementation

Future<void> openBrowserWithUrl(String url) async {
  try {
    await _platform.openBrowser(url);
  } catch (error, stackTrace) {
    Error.throwWithStackTrace(error, stackTrace);
  }
}