value property

T? get value

The setting's value.

Throws if WebSetting.isPresent is false.

Implementation

T? get value {
  if (!isPresent) {
    throw StateError('Cannot access a value of an absent WebSetting');
  }
  assert(isPresent);
  return _value;
}