setShippingAmount static method
Implementation
static Future<void> setShippingAmount(double amount) async {
try {
await platform.invokeMethod(
'setShippingAmount', <String, dynamic>{'amount': amount});
} on PlatformException catch (e) {
showToast(e.message.toString());
}
}