fromStr static method

Future<Uri> fromStr(
  1. String uri
)

Implementation

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