DevbarVariable<T> constructor

DevbarVariable<T>(
  1. VariablesPlugin service,
  2. String key, {
  3. required T defaultValue,
  4. required String? description,
  5. T? fromJson(
    1. Object
    )?,
})

Implementation

DevbarVariable(
  this.service,
  this.key, {
  required this.defaultValue,
  required this.description,
  this.fromJson,
}) {
  _value = ValueStream<T>(_computedValue);
}