GoogleChromeManagementV1CountPrintJobsByUserResponse.fromJson constructor

GoogleChromeManagementV1CountPrintJobsByUserResponse.fromJson(
  1. Map json_
)

Implementation

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