Computer.fromJson constructor
Implementation
factory Computer.fromJson(Map<String, dynamic> json) {
return Computer(
computerAttributes: (json['ComputerAttributes'] as List?)
?.whereNotNull()
.map((e) => Attribute.fromJson(e as Map<String, dynamic>))
.toList(),
computerId: json['ComputerId'] as String?,
computerName: json['ComputerName'] as String?,
);
}