RovenuePackage constructor

const RovenuePackage({
  1. required String identifier,
  2. PackageType? packageType,
  3. required StoreProduct product,
  4. bool isPromoted = false,
  5. String metadataJson = _emptyMetadataJson,
  6. List<VirtualCurrencyGrant> virtualCurrencyGrants = const <VirtualCurrencyGrant>[],
})

Implementation

const RovenuePackage({
  required this.identifier,
  this.packageType,
  required this.product,
  this.isPromoted = false,
  this.metadataJson = _emptyMetadataJson,
  this.virtualCurrencyGrants = const <VirtualCurrencyGrant>[],
});