getProducts static method

Future<IaphubProducts> getProducts({
  1. List<String> includeSubscriptionStates = const [],
})

Get products

Implementation

static Future<IaphubProducts> getProducts(
    {List<String> includeSubscriptionStates = const []}) async {
  final data = await _invokeMethodAndParseResult<Map<String, dynamic>>(
      'getProducts',
      {"includeSubscriptionStates": includeSubscriptionStates});

  return IaphubProducts.fromJson(data);
}