EvaluationMetrics.fromJson constructor

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

Implementation

factory EvaluationMetrics.fromJson(Map<String, dynamic> json) {
  return EvaluationMetrics(
    transformType: (json['TransformType'] as String).toTransformType(),
    findMatchesMetrics: json['FindMatchesMetrics'] != null
        ? FindMatchesMetrics.fromJson(
            json['FindMatchesMetrics'] as Map<String, dynamic>)
        : null,
  );
}