GoogleChromeManagementV1PeripheralsReport.fromJson constructor

GoogleChromeManagementV1PeripheralsReport.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1PeripheralsReport.fromJson(core.Map json_)
    : this(
        reportTime: json_.containsKey('reportTime')
            ? json_['reportTime'] as core.String
            : null,
        usbPeripheralReport: json_.containsKey('usbPeripheralReport')
            ? (json_['usbPeripheralReport'] as core.List)
                .map((value) =>
                    GoogleChromeManagementV1UsbPeripheralReport.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );