DescribeBandwidthRateLimitScheduleOutput.fromJson constructor

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

Implementation

factory DescribeBandwidthRateLimitScheduleOutput.fromJson(
    Map<String, dynamic> json) {
  return DescribeBandwidthRateLimitScheduleOutput(
    bandwidthRateLimitIntervals: (json['BandwidthRateLimitIntervals']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            BandwidthRateLimitInterval.fromJson(e as Map<String, dynamic>))
        .toList(),
    gatewayARN: json['GatewayARN'] as String?,
  );
}