RovenuePackage class
One purchasable package within an Offering. Mirrors RvPackage /
PackageDTO.
- Annotations
Constructors
-
RovenuePackage({required String identifier, PackageType? packageType, required StoreProduct product, bool isPromoted = false, String metadataJson = _emptyMetadataJson, List<
VirtualCurrencyGrant> virtualCurrencyGrants = const <VirtualCurrencyGrant>[]}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- identifier → String
-
final
- isPromoted → bool
-
Whether the dashboard marked this package as the one to feature.
final
-
metadata
→ Map<
String, Object?> -
metadataJson parsed; empty when unset or malformed.
no setter
- metadataJson → String
-
The package's dashboard metadata as a JSON object string; see metadata.
final
- packageType → PackageType?
-
final
- product → StoreProduct
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
virtualCurrencyGrants
→ List<
VirtualCurrencyGrant> -
The credit grants this package's product pays: the server's own grant rule.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override