LifecyclePolicyRuleAction.fromJson constructor

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

Implementation

factory LifecyclePolicyRuleAction.fromJson(Map<String, dynamic> json) {
  return LifecyclePolicyRuleAction(
    type: (json['type'] as String?)?.toImageActionType(),
  );
}