Choice<T> constructor

const Choice<T>(
  1. String name,
  2. T value
)

Implementation

const Choice(this.name, this.value);