ListJobExecutionsForThingResponse.fromJson constructor

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

Implementation

factory ListJobExecutionsForThingResponse.fromJson(
    Map<String, dynamic> json) {
  return ListJobExecutionsForThingResponse(
    executionSummaries: (json['executionSummaries'] as List?)
        ?.whereNotNull()
        .map((e) =>
            JobExecutionSummaryForThing.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}