Instance Method

package(identifier:)

Retrieves a specific Package by identifier, use this to access custom package types configured in the RevenueCat dashboard, e.g. offering.package(identifier: "custom_package_id") or offering["custom_package_id"].

Declaration

@objc func package(identifier: String?) -> Package?