openURL static method
Implementation
static Future<bool> openURL(String url) async {
try {
final success = await launchUrlString(
url,
mode: LaunchMode.externalApplication,
);
if (!success) {
throw ReownCoreError(code: 3000, message: 'Can not open $url');
}
return true;
} catch (_) {
throw ReownCoreError(code: 3001, message: 'Can not open $url');
}
}