DescribeReplicationTaskAssessmentResultsResponse.fromJson constructor

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

Implementation

factory DescribeReplicationTaskAssessmentResultsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeReplicationTaskAssessmentResultsResponse(
    bucketName: json['BucketName'] as String?,
    marker: json['Marker'] as String?,
    replicationTaskAssessmentResults:
        (json['ReplicationTaskAssessmentResults'] as List?)
            ?.whereNotNull()
            .map((e) => ReplicationTaskAssessmentResult.fromJson(
                e as Map<String, dynamic>))
            .toList(),
  );
}