DeviceCompromisedSecurityDetail.fromJson constructor

DeviceCompromisedSecurityDetail.fromJson(
  1. Map _json
)

Implementation

DeviceCompromisedSecurityDetail.fromJson(core.Map _json)
    : this(
        deviceCompromisedState: _json.containsKey('deviceCompromisedState')
            ? _json['deviceCompromisedState'] as core.String
            : null,
        deviceId: _json.containsKey('deviceId')
            ? _json['deviceId'] as core.String
            : null,
        deviceModel: _json.containsKey('deviceModel')
            ? _json['deviceModel'] as core.String
            : null,
        deviceType: _json.containsKey('deviceType')
            ? _json['deviceType'] as core.String
            : null,
        iosVendorId: _json.containsKey('iosVendorId')
            ? _json['iosVendorId'] as core.String
            : null,
        resourceId: _json.containsKey('resourceId')
            ? _json['resourceId'] as core.String
            : null,
        serialNumber: _json.containsKey('serialNumber')
            ? _json['serialNumber'] as core.String
            : null,
      );