get method
Retrieve a subscription by its ID and its customer’s ID.
Implementation
Future<MollieSubscriptionResponse> get(String customerId, String subId) async {
var res = await http.get(
Uri.parse("$_apiEndpoint/$customerId/subscriptions/$subId"),
headers: _headers,
);
dynamic data = json.decode(res.body);
return MollieSubscriptionResponse.build(data);
}