fromStr static method
Implementation
static Future<Url> fromStr(String uri) async {
try {
await PConfig.initializeApp();
final res = FfiUrl.fromStr(url: uri);
return Url._(field0: res.field0);
} on error.PayjoinError catch (e) {
throw mapPayjoinError(e);
}
}