GetLifecyclePoliciesResponse.fromJson constructor

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

Implementation

factory GetLifecyclePoliciesResponse.fromJson(Map<String, dynamic> json) {
  return GetLifecyclePoliciesResponse(
    policies: (json['Policies'] as List?)
        ?.whereNotNull()
        .map(
            (e) => LifecyclePolicySummary.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}