ListNamedShadowsForThingResponse.fromJson constructor
Implementation
factory ListNamedShadowsForThingResponse.fromJson(Map<String, dynamic> json) {
return ListNamedShadowsForThingResponse(
nextToken: json['nextToken'] as String?,
results: (json['results'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
timestamp: json['timestamp'] as int?,
);
}