requiredOnParent property

bool get requiredOnParent

Whether the JsonSchema is required on its parent.

Implementation

bool get requiredOnParent => _parent?.propertyRequired(propertyName) ?? false;