PaystackResponse.success constructor

PaystackResponse.success(
  1. String reference
)

Implementation

factory PaystackResponse.success(String reference) {
  return PaystackResponse(
    code: '00',
    message: 'Payment successful',
    reference: reference,
  );
}