SelectOption<T> constructor

const SelectOption<T>(
  1. String label,
  2. T value
)

Creates a SelectOption with a label and a value.

Implementation

const SelectOption(this.label, this.value);