ListProvisionedCapacityOutput.fromJson constructor

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

Implementation

factory ListProvisionedCapacityOutput.fromJson(Map<String, dynamic> json) {
  return ListProvisionedCapacityOutput(
    provisionedCapacityList: (json['ProvisionedCapacityList'] as List?)
        ?.whereNotNull()
        .map((e) => ProvisionedCapacityDescription.fromJson(
            e as Map<String, dynamic>))
        .toList(),
  );
}