exclusiveMinimum property

num? exclusiveMinimum

The value of the exclusiveMaximum for the JsonSchema, if any exists.

Implementation

num? get exclusiveMinimum {
  // If we're beyond draft4, the property contains the value, return it.
  if (schemaVersion >= SchemaVersion.draft6) {
    return _exclusiveMinimumV6;

    // If we're on draft4, the property is a bool, so return the min instead.
  } else {
    if (hasExclusiveMinimum) {
      return _minimum;
    }
  }
  return null;
}