Option.bool constructor

Option.bool(
  1. String name,
  2. String description, {
  3. bool? required = false,
})

Implementation

factory Option.bool(String name, String description, { bool? required = false }) {
  return Option(name: name, description: description, type: OptionType.boolean, required: required);
}