Value constructor

Value(
  1. String value, [
  2. int range = 1
])

Implementation

Value(this.value, [this.range = 1]) : this.key = _getKeyFromValue(value, range);