extractV1 method

  1. @override
Future<(Request, ContextV1)> extractV1()

Implementation

@override
Future<(common.Request, ContextV1)> extractV1() async {
  try {
    final res = await super.extractV1();
    final request = common.Request(
      url: await Url.fromStr((res.$1.url.asString())),
      body: res.$1.body,
    );
    return (request, ContextV1._(field0: res.$2.field0));
  } on error.PayjoinError catch (e) {
    throw mapPayjoinError(e);
  }
}