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