GoogleChromeManagementV1AppDetails.fromJson constructor

GoogleChromeManagementV1AppDetails.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1AppDetails.fromJson(core.Map json_)
    : this(
        androidAppInfo: json_.containsKey('androidAppInfo')
            ? GoogleChromeManagementV1AndroidAppInfo.fromJson(
                json_['androidAppInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        appId:
            json_.containsKey('appId') ? json_['appId'] as core.String : null,
        chromeAppInfo: json_.containsKey('chromeAppInfo')
            ? GoogleChromeManagementV1ChromeAppInfo.fromJson(
                json_['chromeAppInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        detailUri: json_.containsKey('detailUri')
            ? json_['detailUri'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        firstPublishTime: json_.containsKey('firstPublishTime')
            ? json_['firstPublishTime'] as core.String
            : null,
        homepageUri: json_.containsKey('homepageUri')
            ? json_['homepageUri'] as core.String
            : null,
        iconUri: json_.containsKey('iconUri')
            ? json_['iconUri'] as core.String
            : null,
        isPaidApp: json_.containsKey('isPaidApp')
            ? json_['isPaidApp'] as core.bool
            : null,
        latestPublishTime: json_.containsKey('latestPublishTime')
            ? json_['latestPublishTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        privacyPolicyUri: json_.containsKey('privacyPolicyUri')
            ? json_['privacyPolicyUri'] as core.String
            : null,
        publisher: json_.containsKey('publisher')
            ? json_['publisher'] as core.String
            : null,
        reviewNumber: json_.containsKey('reviewNumber')
            ? json_['reviewNumber'] as core.String
            : null,
        reviewRating: json_.containsKey('reviewRating')
            ? (json_['reviewRating'] as core.num).toDouble()
            : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
        serviceError: json_.containsKey('serviceError')
            ? GoogleRpcStatus.fromJson(
                json_['serviceError'] as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );