GroupLicense class Null safety

Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps.

For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time. Use the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product. Only one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.

Constructors

GroupLicense({String? acquisitionKind, String? approval, int? numProvisioned, int? numPurchased, String? permissions, String? productId})
GroupLicense.fromJson(Map json_)

Properties

acquisitionKind String?
How this group license was acquired.
read / write
approval String?
Whether the product to which this group license relates is currently approved by the enterprise.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
numProvisioned int?
The total number of provisioned licenses for this product.
read / write
numPurchased int?
The number of purchased licenses (possibly in multiple purchases).
read / write
permissions String?
The permission approval status of the product.
read / write
productId String?
The ID of the product that the license is for.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited