Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Calling API

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 59525

Trending Articles