constValue property

Object? get constValue

The constant value for this schema.

Implementation

Object? get constValue {
  if (!_value.containsKey(Keys.const_)) {
    throw ArgumentError('Missing ${Keys.const_} field in $ConstSchema');
  }
  return _value[Keys.const_];
}