ListDataSourceSyncJobsResponse.fromJson constructor

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

Implementation

factory ListDataSourceSyncJobsResponse.fromJson(Map<String, dynamic> json) {
  return ListDataSourceSyncJobsResponse(
    history: (json['History'] as List?)
        ?.whereNotNull()
        .map((e) => DataSourceSyncJob.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}