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}) -
const
Properties
-
channels
→ List<
ChannelType> ? -
final
-
choices
→ List<
OptionChoice> ? -
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → int?
-
final
- min → int?
-
final
- name → String
-
final
- required → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → OptionType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited