propertyRequired method

bool propertyRequired(
  1. String? property
)

Whether a given property is required for the JsonSchema instance to be valid.

Implementation

bool propertyRequired(String? property) =>
    _requiredProperties != null && _requiredProperties!.contains(property);