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