PutEvaluationsResponse.fromJson constructor

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

Implementation

factory PutEvaluationsResponse.fromJson(Map<String, dynamic> json) {
  return PutEvaluationsResponse(
    failedEvaluations: (json['FailedEvaluations'] as List?)
        ?.whereNotNull()
        .map((e) => Evaluation.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}