Distance constructor

const Distance({
  1. String? text,
  2. num? value,
})

Implementation

const Distance({this.text, this.value});