GetLifecyclePolicyResponse.fromJson constructor

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

Implementation

factory GetLifecyclePolicyResponse.fromJson(Map<String, dynamic> json) {
  return GetLifecyclePolicyResponse(
    policy: json['Policy'] != null
        ? LifecyclePolicy.fromJson(json['Policy'] as Map<String, dynamic>)
        : null,
  );
}