AutoScalingPolicyStateChangeReason.fromJson constructor

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

Implementation

factory AutoScalingPolicyStateChangeReason.fromJson(
    Map<String, dynamic> json) {
  return AutoScalingPolicyStateChangeReason(
    code:
        (json['Code'] as String?)?.toAutoScalingPolicyStateChangeReasonCode(),
    message: json['Message'] as String?,
  );
}