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