getOfferings static method

Future<Offerings> getOfferings()

Fetch the configured offerings for this users. Offerings allows you to configure your in-app products via RevenueCat and greatly simplifies management. See the guide for more info.

Offerings will be fetched and cached on instantiation so that, by the time they are needed, your prices are loaded for your purchase flow.

Time is money.

Implementation

static Future<Offerings> getOfferings() async {
  final res = await _channel.invokeMethod('getOfferings');
  return Offerings.fromJson(
    Map<String, dynamic>.from(res),
  );
}