build method

  1. @override
PjUri build()

Constructs a Uri with PayjoinParams from the parameters set in the builder.

Implementation

@override
PjUri build() {
  try {
    final res = super.build();
    return PjUri._(field0: res.field0);
  } on error.PayjoinError catch (e) {
    throw mapPayjoinError(e);
  }
}