Option class
Constructors
-
Option({required String name, required String description, required OptionType type, bool? required, List<ChannelType>? channels, int? min, int? max, List<OptionChoice>? choices})
-
-
Option.bool(String name, String description, {bool? required = false})
-
factory
-
Option.channel(String name, String description, {List<ChannelType>? channels, bool? required = false})
-
factory
-
Option.choice(String name, String description, OptionType type, List<OptionChoice> choices, {bool? required = false})
-
factory
-
Option.mentionable(String name, String description, {bool? required = false})
-
factory
-
Option.number(String name, String description, {bool? required = false})
-
factory
-
Option.role(String name, String description, {bool? required = false})
-
factory
-
Option.string(String name, String description, {bool? required = false})
-
factory
-
Option.user(String name, String description, {bool? required = false})
-
factory
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited