ChromeOsDeviceTpmVersionInfo.fromJson constructor

ChromeOsDeviceTpmVersionInfo.fromJson(
  1. Map json_
)

Implementation

ChromeOsDeviceTpmVersionInfo.fromJson(core.Map json_)
    : this(
        family: json_.containsKey('family')
            ? json_['family'] as core.String
            : null,
        firmwareVersion: json_.containsKey('firmwareVersion')
            ? json_['firmwareVersion'] as core.String
            : null,
        manufacturer: json_.containsKey('manufacturer')
            ? json_['manufacturer'] as core.String
            : null,
        specLevel: json_.containsKey('specLevel')
            ? json_['specLevel'] as core.String
            : null,
        tpmModel: json_.containsKey('tpmModel')
            ? json_['tpmModel'] as core.String
            : null,
        vendorSpecific: json_.containsKey('vendorSpecific')
            ? json_['vendorSpecific'] as core.String
            : null,
      );