processRes method

  1. @override
Future<ActiveSession> processRes({
  1. required List<int> body,
  2. required ClientResponse ctx,
})

Implementation

@override
Future<ActiveSession> processRes(
    {required List<int> body, required ClientResponse ctx}) async {
  try {
    final res = await super.processRes(body: body, ctx: ctx);
    return ActiveSession._(field0: res.field0);
  } on error.PayjoinError catch (e) {
    throw mapPayjoinError(e);
  }
}