GoogleChromeManagementV1CountPrintJobsByPrinterResponse.fromJson constructor

GoogleChromeManagementV1CountPrintJobsByPrinterResponse.fromJson(
  1. Map json_
)

Implementation

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