BiosDetails.fromJson constructor

BiosDetails.fromJson(
  1. Map json_
)

Implementation

BiosDetails.fromJson(core.Map json_)
    : this(
        biosName: json_.containsKey('biosName')
            ? json_['biosName'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        manufacturer: json_.containsKey('manufacturer')
            ? json_['manufacturer'] as core.String
            : null,
        releaseDate: json_.containsKey('releaseDate')
            ? Date.fromJson(
                json_['releaseDate'] as core.Map<core.String, core.dynamic>)
            : null,
        smbiosUuid: json_.containsKey('smbiosUuid')
            ? json_['smbiosUuid'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );