DescribeReplicationInstanceTaskLogsResponse.fromJson constructor

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

Implementation

factory DescribeReplicationInstanceTaskLogsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeReplicationInstanceTaskLogsResponse(
    marker: json['Marker'] as String?,
    replicationInstanceArn: json['ReplicationInstanceArn'] as String?,
    replicationInstanceTaskLogs: (json['ReplicationInstanceTaskLogs']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            ReplicationInstanceTaskLog.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}