getWebUrl property
String?
get
getWebUrl
Returns the complete URL for the payment web interface.
This URL includes:
- The base payment URL from paymentLink
- The web SDK parameter for proper rendering
Example:
final url = paymentDetails.getWebUrl;
// Opens the payment page in a browser
launchUrl(url);
Returns null if paymentLink is null.
Implementation
String? get getWebUrl {
return "${paymentLink ?? ""}&isWebSdk=true";
}