fromJson static method

AllInfo fromJson(
  1. Map<String, dynamic> json
)

convert from json

Implementation

static AllInfo fromJson(Map<String, dynamic> json) {
  return AllInfo(
    system: SystemInfo.fromJson(json),
    bios: BiosInfo.fromJson(json),
    baseBoard: BaseBoardInfo.fromJson(json),
    chassis: ChassisInfo.fromJson(json),
    os: OsInfo.fromJson(json),
    cpu: CpuInfo.fromJson(json),
    network: NetworkInfo.fromJson(json),
    disks: DiskLayoutInfo.fromJson(json),
    memories: MemoryInfo.fromJson(json),
    graphicsInfo: GraphicsInfo.fromJson(json),
  );
}