launchWave static method
Implementation
static Future<void> launchWave(String url) async {
try{
final Uri _uri = Uri.parse(url);
await launchUrl(_uri);
}catch(e){
final Uri _uri = Uri.parse(WaveStoreRedirectURI);
if(await launchUrl(_uri)){
throw 'Could not launch $WaveStoreRedirectURI';
}
}
}