discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

hasExclusiveMaximum property

bool get hasExclusiveMaximum

Whether the maximum of the JsonSchema is exclusive.

Implementation

bool get hasExclusiveMaximum =>
    _exclusiveMaximum ?? _exclusiveMaximumV6 != null;