Constant constructor

const Constant(
  1. String name,
  2. Result value, {
  3. String? displayName,
})

Creates a constant.

Implementation

const Constant(this.name, this.value, {this.displayName});