BushaPaySuccess.fromCallback constructor

BushaPaySuccess.fromCallback({
  1. required String paymentId,
})

Creates a success result from a callback deep link (Path B — limited data).

Implementation

factory BushaPaySuccess.fromCallback({required String paymentId}) =>
    BushaPaySuccess(paymentId: paymentId, status: 'completed');