hasConst property

bool hasConst

Whether or not const is set, we need this since const can be null and valid.

Spec: https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.24

Implementation

bool get hasConst => _hasConst;