Command class

Implementers

Constructors

Command(String value, String description, {Command? parent})

Properties

arguments Map<String, Argument>
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
options Map<String, Option>
final
parent Command?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

Methods

argument(String name, CompleteHandler? handler, {bool variadic = false}) Argument
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
option(String value, String description, CompleteHandler? handler, {String? alias}) Option
toString() String
A string representation of this object.
inherited

Operators

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