Option constructor

Option({
  1. required String name,
  2. required String description,
  3. required OptionType type,
  4. bool? required,
  5. List<ChannelType>? channels,
  6. int? min,
  7. int? max,
  8. List<OptionChoice>? choices,
})

Implementation

Option ({ required this.name, required this.description, required this.type, this.required, this.channels, this.min, this.max, this.choices });