constraint property
constraint Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.
Implementation
List<ElementDefinitionConstraint>? get constraint =>
throw _privateConstructorUsedError;