GoogleChromeManagementV1TelemetryUser.fromJson constructor

GoogleChromeManagementV1TelemetryUser.fromJson(
  1. Map json_
)

Implementation

GoogleChromeManagementV1TelemetryUser.fromJson(core.Map json_)
    : this(
        customer: json_.containsKey('customer')
            ? json_['customer'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        orgUnitId: json_.containsKey('orgUnitId')
            ? json_['orgUnitId'] as core.String
            : null,
        userDevice: json_.containsKey('userDevice')
            ? (json_['userDevice'] as core.List)
                .map((value) =>
                    GoogleChromeManagementV1TelemetryUserDevice.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        userEmail: json_.containsKey('userEmail')
            ? json_['userEmail'] as core.String
            : null,
        userId: json_.containsKey('userId')
            ? json_['userId'] as core.String
            : null,
      );