toOuterUrl static method

dynamic toOuterUrl(
  1. String url, {
  2. String? point,
})

Implementation

static toOuterUrl(String url,{String? point}) async{
  if (await canLaunch(url)) {
    await launch(url);
  } else {
    ToastUtils.toast(point??'${StringUtils.openbrowserfail}');
  }
}