GetReplicationJobsResponse.fromJson constructor

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

Implementation

factory GetReplicationJobsResponse.fromJson(Map<String, dynamic> json) {
  return GetReplicationJobsResponse(
    nextToken: json['nextToken'] as String?,
    replicationJobList: (json['replicationJobList'] as List?)
        ?.whereNotNull()
        .map((e) => ReplicationJob.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}