GoogleChromeManagementV1InstalledApp.fromJson constructor

GoogleChromeManagementV1InstalledApp.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1InstalledApp.fromJson(core.Map json_)
    : this(
        appId:
            json_.containsKey('appId') ? json_['appId'] as core.String : null,
        appInstallType: json_.containsKey('appInstallType')
            ? json_['appInstallType'] as core.String
            : null,
        appSource: json_.containsKey('appSource')
            ? json_['appSource'] as core.String
            : null,
        appType: json_.containsKey('appType')
            ? json_['appType'] as core.String
            : null,
        browserDeviceCount: json_.containsKey('browserDeviceCount')
            ? json_['browserDeviceCount'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        disabled: json_.containsKey('disabled')
            ? json_['disabled'] as core.bool
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        homepageUri: json_.containsKey('homepageUri')
            ? json_['homepageUri'] as core.String
            : null,
        osUserCount: json_.containsKey('osUserCount')
            ? json_['osUserCount'] as core.String
            : null,
        permissions: json_.containsKey('permissions')
            ? (json_['permissions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );