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