PaymentSuccess constructor

const PaymentSuccess(
  1. String gatewayName, {
  2. Map<String, dynamic>? data,
})

Creates a successful result from gatewayName with optional data.

Implementation

const PaymentSuccess(super.gatewayName, {this.data});