WebSetting<T>.of constructor

WebSetting<T>.of(
  1. T value
)

Constructs a setting of the given value.

The isPresent field for the instance will be true.

Implementation

WebSetting.of(T value)
    : _value = value,
      isPresent = true;