GetInfoResult.fromJson constructor

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

Implementation

factory GetInfoResult.fromJson(Map<String, dynamic> json) {
  return GetInfoResult(
    gpu: GPUInfo.fromJson(json['gpu'] as Map<String, dynamic>),
    modelName: json['modelName'] as String,
    modelVersion: json['modelVersion'] as String,
    commandLine: json['commandLine'] as String,
  );
}