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