PutScalingPolicyResponse.fromJson constructor
Implementation
factory PutScalingPolicyResponse.fromJson(Map<String, dynamic> json) {
return PutScalingPolicyResponse(
policyARN: json['PolicyARN'] as String,
alarms: (json['Alarms'] as List?)
?.whereNotNull()
.map((e) => Alarm.fromJson(e as Map<String, dynamic>))
.toList(),
);
}