GoogleChromeManagementV1CountChromeVersionsResponse.fromJson constructor

GoogleChromeManagementV1CountChromeVersionsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1CountChromeVersionsResponse.fromJson(core.Map json_)
    : this(
        browserVersions: json_.containsKey('browserVersions')
            ? (json_['browserVersions'] as core.List)
                .map((value) =>
                    GoogleChromeManagementV1BrowserVersion.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        totalSize: json_.containsKey('totalSize')
            ? json_['totalSize'] as core.int
            : null,
      );