getActiveProducts static method
Get active products
Implementation
static Future<List<IaphubActiveProduct>> getActiveProducts(
{List<String> includeSubscriptionStates = const []}) async {
final data = await _invokeMethodAndParseResult<List<Map<String, dynamic>>>(
'getActiveProducts',
{"includeSubscriptionStates": includeSubscriptionStates});
return data.map((item) => IaphubActiveProduct.fromJson(item)).toList();
}