ListProvisionedProductPlansOutput.fromJson constructor

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

Implementation

factory ListProvisionedProductPlansOutput.fromJson(
    Map<String, dynamic> json) {
  return ListProvisionedProductPlansOutput(
    nextPageToken: json['NextPageToken'] as String?,
    provisionedProductPlans: (json['ProvisionedProductPlans'] as List?)
        ?.whereNotNull()
        .map((e) =>
            ProvisionedProductPlanSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}