EdgeModel.fromJson constructor

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

Implementation

factory EdgeModel.fromJson(Map<String, dynamic> json) {
  return EdgeModel(
    modelName: json['ModelName'] as String,
    modelVersion: json['ModelVersion'] as String,
    latestInference: timeStampFromJson(json['LatestInference']),
    latestSampleTime: timeStampFromJson(json['LatestSampleTime']),
  );
}