LifecycleConfigurationDescription.fromJson constructor

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

Implementation

factory LifecycleConfigurationDescription.fromJson(
    Map<String, dynamic> json) {
  return LifecycleConfigurationDescription(
    lifecyclePolicies: (json['LifecyclePolicies'] as List?)
        ?.whereNotNull()
        .map((e) => LifecyclePolicy.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}