SearchProvisionedProductsOutput.fromJson constructor
SearchProvisionedProductsOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SearchProvisionedProductsOutput.fromJson(Map<String, dynamic> json) {
return SearchProvisionedProductsOutput(
nextPageToken: json['NextPageToken'] as String?,
provisionedProducts: (json['ProvisionedProducts'] as List?)
?.whereNotNull()
.map((e) =>
ProvisionedProductAttribute.fromJson(e as Map<String, dynamic>))
.toList(),
totalResultsCount: json['TotalResultsCount'] as int?,
);
}