openBrowserWithUrl function
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);
}
}