ListTopicsDetectionJobsResponse.fromJson constructor

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

Implementation

factory ListTopicsDetectionJobsResponse.fromJson(Map<String, dynamic> json) {
  return ListTopicsDetectionJobsResponse(
    nextToken: json['NextToken'] as String?,
    topicsDetectionJobPropertiesList:
        (json['TopicsDetectionJobPropertiesList'] as List?)
            ?.whereNotNull()
            .map((e) => TopicsDetectionJobProperties.fromJson(
                e as Map<String, dynamic>))
            .toList(),
  );
}