DescribeLoadBasedAutoScalingResult.fromJson constructor

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

Implementation

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