PredictorExecution.fromJson constructor

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

Implementation

factory PredictorExecution.fromJson(Map<String, dynamic> json) {
  return PredictorExecution(
    algorithmArn: json['AlgorithmArn'] as String?,
    testWindows: (json['TestWindows'] as List?)
        ?.whereNotNull()
        .map((e) => TestWindowSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}