Product class Null safety

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? 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
read / write
appTracks List<TrackInfo>?
The tracks visible to the enterprise.
read / write
appVersion List<AppVersion>?
App versions currently available for this product.
read / write
authorName String?
The name of the author of the product (for example, the app developer).
read / write
availableCountries List<String>?
The countries which this app is available in.
read / write
availableTracks List<String>?
Deprecated, use appTracks instead.
read / write
category String?
The app category (e.g. RACING, SOCIAL, etc.)
read / write
contentRating String?
The content rating for this app. Possible string values are:
read / write
description String?
The localized promotional description, if available.
read / write
detailsUrl String?
A link to the (consumer) Google Play details page for the product.
read / write
distributionChannel String?
How and to whom the package is made available.
read / write
features List<String>?
Noteworthy features (if any) of this product.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
iconUrl String?
A link to an image that can be used as an icon for the product.
read / write
lastUpdatedTimestampMillis String?
The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch.
read / write
minAndroidSdkVersion int?
The minimum Android SDK necessary to run the app.
read / write
permissions List<ProductPermission>?
A list of permissions required by the app.
read / write
productId String?
A string of the form app:<package name>.
read / write
productPricing String?
Whether this product is free, free with in-app purchases, or paid.
read / write
recentChanges String?
A description of the recent changes made to the app.
read / write
requiresContainerApp bool?
Deprecated.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
screenshotUrls List<String>?
A list of screenshot links representing the app.
read / write
signingCertificate ProductSigningCertificate?
The certificate used to sign this product.
read / write
smallIconUrl String?
A link to a smaller image that can be used as an icon for the product.
read / write
title String?
The name of the product.
read / write
workDetailsUrl String?
A link to the managed Google Play details page for the product, for use by an Enterprise admin.
read / write

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