AutoScalingPolicyStatus.fromJson constructor
Implementation
factory AutoScalingPolicyStatus.fromJson(Map<String, dynamic> json) {
return AutoScalingPolicyStatus(
state: (json['State'] as String?)?.toAutoScalingPolicyState(),
stateChangeReason: json['StateChangeReason'] != null
? AutoScalingPolicyStateChangeReason.fromJson(
json['StateChangeReason'] as Map<String, dynamic>)
: null,
);
}