Command class Null safety

The class that contains the information about a command

Annotations

Constructors

Command({required String name, required String description, required 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
A string representation of this object.
inherited

Operators

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