DependentRequiredRule constructor

const DependentRequiredRule(
  1. Map<String, List<String>> dependencies
)

Creates a rule from a dependency map.

dependencies maps each trigger property name to the list of property names that must be present when the trigger is present.

Implementation

const DependentRequiredRule(this.dependencies);