Command class

The class that contains the information about a command

Annotations

Constructors

Command({String name, String description, String args})
Constructor used for json serialization
Command.fromJson(Map<String, dynamic> json)
Create a new instance from a json
factory

Properties

args String
The arguments of the command
final
description String
The description explaining the command
final
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
The name of the command
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Serialize to json
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited