DescribeAcceleratorOfferingsResponse.fromJson constructor

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

Implementation

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