Option constructor
Option({
- required String name,
- required String description,
- required OptionType type,
- bool? required,
- List<
ChannelType> ? channels, - int? min,
- int? max,
- List<
OptionChoice> ? choices,
Implementation
Option ({ required this.name, required this.description, required this.type, this.required, this.channels, this.min, this.max, this.choices });