Product class
A Products resource represents an app in the Google Play store that is available to at least some users in the enterprise.
(Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.) The information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.
Constructors
-
Product({AppRestrictionsSchema? appRestrictionsSchema, List<
TrackInfo> ? appTracks, List<AppVersion> ? appVersion, String? authorName, List<String> ? availableCountries, List<String> ? availableTracks, String? category, String? contentRating, String? description, String? detailsUrl, String? distributionChannel, List<String> ? features, String? fullDescription, String? iconUrl, String? lastUpdatedTimestampMillis, int? minAndroidSdkVersion, List<ProductPermission> ? permissions, String? productId, String? productPricing, String? recentChanges, bool? requiresContainerApp, List<String> ? screenshotUrls, ProductSigningCertificate? signingCertificate, String? smallIconUrl, String? title, String? workDetailsUrl}) - Product.fromJson(Map json_)
Properties
- appRestrictionsSchema ↔ AppRestrictionsSchema?
-
The app restriction schema
getter/setter pair
-
appTracks
↔ List<
TrackInfo> ? -
The tracks visible to the enterprise.
getter/setter pair
-
appVersion
↔ List<
AppVersion> ? -
App versions currently available for this product.
getter/setter pair
-
The name of the author of the product (for example, the app developer).
getter/setter pair
-
availableCountries
↔ List<
String> ? -
The countries which this app is available in.
getter/setter pair
-
availableTracks
↔ List<
String> ? -
Deprecated, use appTracks instead.
getter/setter pair
- category ↔ String?
-
The app category (e.g. RACING, SOCIAL, etc.)
getter/setter pair
- contentRating ↔ String?
-
The content rating for this app.
Possible string values are:
getter/setter pair
- description ↔ String?
-
The localized promotional description, if available.
getter/setter pair
- detailsUrl ↔ String?
-
A link to the (consumer) Google Play details page for the product.
getter/setter pair
- distributionChannel ↔ String?
-
How and to whom the package is made available.
getter/setter pair
-
features
↔ List<
String> ? -
Noteworthy features (if any) of this product.
getter/setter pair
- fullDescription ↔ String?
-
The localized full app store description, if available.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconUrl ↔ String?
-
A link to an image that can be used as an icon for the product.
getter/setter pair
- lastUpdatedTimestampMillis ↔ String?
-
The approximate time (within 7 days) the app was last published, expressed
in milliseconds since epoch.
getter/setter pair
- minAndroidSdkVersion ↔ int?
-
The minimum Android SDK necessary to run the app.
getter/setter pair
-
permissions
↔ List<
ProductPermission> ? -
A list of permissions required by the app.
getter/setter pair
- productId ↔ String?
-
A string of the form app:<package name>.
getter/setter pair
- productPricing ↔ String?
-
Whether this product is free, free with in-app purchases, or paid.
getter/setter pair
- recentChanges ↔ String?
-
A description of the recent changes made to the app.
getter/setter pair
- requiresContainerApp ↔ bool?
-
Deprecated.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
screenshotUrls
↔ List<
String> ? -
A list of screenshot links representing the app.
getter/setter pair
- signingCertificate ↔ ProductSigningCertificate?
-
The certificate used to sign this product.
getter/setter pair
- smallIconUrl ↔ String?
-
A link to a smaller image that can be used as an icon for the product.
getter/setter pair
- title ↔ String?
-
The name of the product.
getter/setter pair
- workDetailsUrl ↔ String?
-
A link to the managed Google Play details page for the product, for use by
an Enterprise admin.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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