DescribeDataRepositoryTasksResponse.fromJson constructor

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

Implementation

factory DescribeDataRepositoryTasksResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeDataRepositoryTasksResponse(
    dataRepositoryTasks: (json['DataRepositoryTasks'] as List?)
        ?.whereNotNull()
        .map((e) => DataRepositoryTask.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}