Option.role constructor

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

Implementation

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