fastOpenUrl function

dynamic fastOpenUrl([
  1. dynamic url
])

Implementation

fastOpenUrl([url]) async {
  if (await canLaunch(url)) {
    await launch(url);
  } else {
    print("bad url");
  }
}