createChild method
Create a child context
Implementation
EvaluationContext createChild(
Map<String, dynamic> childAttributes, {
String? childTargetingKey,
List<TargetingRule>? childRules,
Duration? childCacheDuration,
}) {
return EvaluationContext(
targetingKey: childTargetingKey ?? targetingKey,
attributes: childAttributes,
parent: this,
rules: childRules ?? [],
cacheDuration: childCacheDuration ?? cacheDuration,
);
}