renderCartPage static method
Implementation
static Future<String> renderCartPage(
String language, String country, String publicKey, double amount) async {
try {
final result =
await platform.invokeMethod('renderCartPage', <String, dynamic>{
'language': language,
'country': country,
'publicKey': publicKey,
'amount': amount
});
return result;
} on PlatformException catch (e) {
showToast(e.message.toString());
rethrow;
}
}