ListEventsDetectionJobsResponse.fromJson constructor

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

Implementation

factory ListEventsDetectionJobsResponse.fromJson(Map<String, dynamic> json) {
  return ListEventsDetectionJobsResponse(
    eventsDetectionJobPropertiesList:
        (json['EventsDetectionJobPropertiesList'] as List?)
            ?.whereNotNull()
            .map((e) => EventsDetectionJobProperties.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}