ListModelBiasJobDefinitionsResponse.fromJson constructor

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

Implementation

factory ListModelBiasJobDefinitionsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListModelBiasJobDefinitionsResponse(
    jobDefinitionSummaries: (json['JobDefinitionSummaries'] as List)
        .whereNotNull()
        .map((e) => MonitoringJobDefinitionSummary.fromJson(
            e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}