CommandBuilder class Null safety

Constructors

CommandBuilder(String label, String description, {Scope? scope, List<Permission>? permissions, bool everyone = false})

Properties

description String
read-only, inherited
everyone bool
final
groups List<CommandGroupBuilder>
read-only
hashCode int
The hash code for this object.
read-only, inherited
label String
read-only, inherited
permissions List<Permission>?
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scope Scope?
read-only, inherited
subcommands List<SubCommandBuilder>
read-only
toJson Object
read-only

Methods

addGroup(CommandGroupBuilder builder) → void
addOption(Option option) → void
addSubcommand(SubCommandBuilder command) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited