getSubscriptionItem method
Implementation
@override
Future<Map> getSubscriptionItem(
String token, String subscriptionId, String itemId) async {
final baseUrl = await getBaseUrl;
var url = Uri.parse(
"$baseUrl/api/v1/subscriptions/$subscriptionId/items/$itemId");
var response = await http.get(
url,
headers: {"Authorization": "Bearer $token", "x-jwt-account-id": "string"},
);
var data = jsonDecode(response.body);
return data;
}