factory LifecyclePolicy.fromJson(Map<String, dynamic> json) { return LifecyclePolicy( transitionToIA: (json['TransitionToIA'] as String?)?.toTransitionToIARules(), ); }