Argv class

Command invocation carried by interaction/command events.

Annotations
  • @JsonSerializable.new(fieldRename: FieldRename.snake, explicitToJson: true, includeIfNull: false)

Constructors

Argv({String? name, List? arguments, Map<String, dynamic>? options})
Argv.fromJson(Map<String, dynamic> json)
factory

Properties

arguments ↔ List?
Positional arguments of the invocation.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String?
Name of the invoked command.
getter/setter pair
options ↔ Map<String, dynamic>?
Named options of the invocation.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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