Calling API
-
Hi Support Team,
I am try to call all the shipping method using API.
(
ShippingMethod.fromJson(Map<String, dynamic> parsedJson) {
try {
id = “${parsedJson[“id”]}”;
title = parsedJson[“label”];
methodId = parsedJson[“method_id”];
methodTitle = parsedJson[“label”];
cost = double.parse(“${parsedJson[“cost”]}”);
} catch (e) {
printLog(‘error parsing Shipping method’);
}
})all of them coming, Except USPS which is from this Plugin.
Please if you can help me to resolve this issue.Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Calling API’ is closed to new replies.