EdgeModelStat.fromJson constructor

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

Implementation

factory EdgeModelStat.fromJson(Map<String, dynamic> json) {
  return EdgeModelStat(
    activeDeviceCount: json['ActiveDeviceCount'] as int,
    connectedDeviceCount: json['ConnectedDeviceCount'] as int,
    modelName: json['ModelName'] as String,
    modelVersion: json['ModelVersion'] as String,
    offlineDeviceCount: json['OfflineDeviceCount'] as int,
    samplingDeviceCount: json['SamplingDeviceCount'] as int,
  );
}